Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007284/0.0007284, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007309/0.0007309, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8536/0.8536, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001442/0.001442, allocations: 242 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6593/0.6593, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.946e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.2221/0.2222, allocations: 3.19 MB / 0.6506 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2241, allocations: 1.968 MB / 0.6526 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.2241, allocations: 8.281 kB / 0.6526 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.2247, allocations: 292.6 kB / 0.6528 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.225, allocations: 241.4 kB / 0.6531 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.2253, allocations: 295.8 kB / 0.6534 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2256, allocations: 423.2 kB / 0.6538 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.2258, allocations: 162.7 kB / 0.6539 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.2261, allocations: 226.5 kB / 0.6541 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.2263, allocations: 196.4 kB / 0.6543 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2263, allocations: 24.69 kB / 0.6543 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2266, allocations: 245 kB / 0.6546 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.2267, allocations: 128 kB / 0.6547 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.2267, allocations: 108.5 kB / 0.6548 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.2272, allocations: 0.5025 MB / 0.6553 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2272, allocations: 1.031 kB / 0.6553 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2272, allocations: 0 / 0.6553 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2272, allocations: 1.875 kB / 0.6553 GB, free: 53.85 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006344/0.2278, allocations: 0.5259 MB / 0.6558 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2278, allocations: 14.92 kB / 0.6558 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.2283, allocations: 121.2 kB / 0.6559 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2286, allocations: 219.2 kB / 0.6562 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2286, allocations: 17.95 kB / 0.6562 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.2287, allocations: 36.75 kB / 0.6562 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2291, allocations: 0.5215 MB / 0.6567 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2291, allocations: 8.062 kB / 0.6567 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.2291, allocations: 15.66 kB / 0.6567 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/0.2292, allocations: 39.23 kB / 0.6568 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.2296, allocations: 361.5 kB / 0.6571 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2308, allocations: 1.588 MB / 0.6587 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.2311, allocations: 250 kB / 0.6589 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2312, allocations: 145.6 kB / 0.659 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2312, allocations: 4.406 kB / 0.6591 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2312, allocations: 34.78 kB / 0.6591 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.2312, allocations: 1.656 kB / 0.6591 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001076/0.2323, allocations: 0.9088 MB / 0.66 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.2323, allocations: 61.22 kB / 0.66 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2325, allocations: 246.5 kB / 0.6603 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2325, allocations: 31.14 kB / 0.6603 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.2326, allocations: 194.6 kB / 0.6605 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2326, allocations: 86.95 kB / 0.6606 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.2327, allocations: 77.72 kB / 0.6606 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.2327, allocations: 331.1 kB / 0.661 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2329, allocations: 162.9 kB / 0.6611 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.2331, allocations: 243.7 kB / 0.6613 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2334, allocations: 405.8 kB / 0.6617 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2334, allocations: 0.8125 kB / 0.6617 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006964/0.2341, allocations: 0.5987 MB / 0.6623 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2341, allocations: 9.062 kB / 0.6623 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2341, allocations: 2.812 kB / 0.6623 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.2345, allocations: 189.3 kB / 0.6625 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.2347, allocations: 62.25 kB / 0.6626 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.2362, allocations: 2.348 MB / 0.6649 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2364, allocations: 24.67 kB / 0.6649 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2364, allocations: 14.47 kB / 0.6649 GB, free: 47.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.542e-05/0.2365, allocations: 161.2 kB / 0.6651 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.2365, allocations: 27.19 kB / 0.6651 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.2369, allocations: 355.7 kB / 0.6654 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2369, allocations: 1.844 kB / 0.6654 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2369, allocations: 4.594 kB / 0.6654 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2369, allocations: 2.531 kB / 0.6654 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.2375, allocations: 0.7088 MB / 0.6661 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2375, allocations: 0 / 0.6661 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.2377, allocations: 72.83 kB / 0.6662 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2377, allocations: 2.188 kB / 0.6662 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2377, allocations: 17.02 kB / 0.6662 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2377, allocations: 2.594 kB / 0.6662 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2377, allocations: 0 / 0.6662 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.2382, allocations: 0.6073 MB / 0.6668 GB, free: 46.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.2382, allocations: 59.47 kB / 0.6669 GB, free: 46.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2382, allocations: 8.953 kB / 0.6669 GB, free: 46.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2384, allocations: 15.16 kB / 0.6669 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.2384, allocations: 13.09 kB / 0.6669 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2384, allocations: 12.95 kB / 0.6669 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2385, allocations: 184.2 kB / 0.6671 GB, free: 46.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2385, allocations: 0 / 0.6671 GB, free: 46.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002551/0.2388, allocations: 88.59 kB / 0.6672 GB, free: 46.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.2389, allocations: 104.8 kB / 0.6673 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.2394, allocations: 0.5245 MB / 0.6678 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2394, allocations: 0 / 0.6678 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2395, allocations: 142.9 kB / 0.6679 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2398, allocations: 53.5 kB / 0.668 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.2406, allocations: 0.7824 MB / 0.6687 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2408, allocations: 184.7 kB / 0.6689 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.2408, allocations: 27.53 kB / 0.6689 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.2408, allocations: 0 / 0.6689 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.004593/0.2454, allocations: 4.661 MB / 0.6735 GB, free: 45.25 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.567231664434075] Failed to read output from testmodel.py, exit status != 0: 0.2507136557251215 0.25817441 0.029413476 Calling exit ...