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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 189.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 285.5 kB / 306.6 MB, free: 8.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.18/1.18, allocations: 180.9 MB / 0.53 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00277/0.00277, allocations: 101.2 kB / 0.7308 GB, free: 39.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1579, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005635/0.1635, allocations: 3.377 MB / 0.8261 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.1672, allocations: 2.07 MB / 0.8282 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1674, allocations: 11.88 kB / 0.8282 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1684, allocations: 302.8 kB / 0.8285 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.169, allocations: 242.9 kB / 0.8287 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1698, allocations: 287.3 kB / 0.829 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1703, allocations: 414.7 kB / 0.8294 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.1707, allocations: 148.9 kB / 0.8295 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1709, allocations: 167.4 kB / 0.8297 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.1714, allocations: 211.3 kB / 0.8299 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.1714, allocations: 31.94 kB / 0.8299 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.1719, allocations: 263.5 kB / 0.8301 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1721, allocations: 123.7 kB / 0.8303 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1722, allocations: 155.2 kB / 0.8304 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1729, allocations: 486.2 kB / 0.8309 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1729, allocations: 0 / 0.8309 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1729, allocations: 4 kB / 0.8309 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.1729, allocations: 0 / 0.8309 GB, free: 9.543 MB / 0.5762 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.001148/0.1741, allocations: 0.54 MB / 0.8314 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1741, allocations: 8.031 kB / 0.8314 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.1751, allocations: 116.6 kB / 0.8315 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.1756, allocations: 214.8 kB / 0.8317 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1756, allocations: 24.8 kB / 0.8318 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.1757, allocations: 32.73 kB / 0.8318 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.1765, allocations: 465.3 kB / 0.8322 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1765, allocations: 11.89 kB / 0.8322 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.1765, allocations: 8 kB / 0.8322 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.1767, allocations: 44.45 kB / 0.8323 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.1774, allocations: 361.7 kB / 0.8326 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.1802, allocations: 2.162 MB / 0.8347 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.1807, allocations: 250.2 kB / 0.835 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1809, allocations: 144.8 kB / 0.8351 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.1809, allocations: 8 kB / 0.8351 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.181, allocations: 34.56 kB / 0.8352 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.181, allocations: 4 kB / 0.8352 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.00186/0.1828, allocations: 0.9078 MB / 0.8361 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1829, allocations: 55.41 kB / 0.8361 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1832, allocations: 252.9 kB / 0.8363 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.1833, allocations: 33.7 kB / 0.8364 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1834, allocations: 188.3 kB / 0.8366 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.1835, allocations: 87.31 kB / 0.8366 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1836, allocations: 85.58 kB / 0.8367 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1838, allocations: 334.8 kB / 0.837 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.1841, allocations: 159.9 kB / 0.8372 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1844, allocations: 246.2 kB / 0.8374 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.1851, allocations: 406.9 kB / 0.8378 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1851, allocations: 0 / 0.8378 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001294/0.1864, allocations: 0.5925 MB / 0.8384 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1864, allocations: 8 kB / 0.8384 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1864, allocations: 4 kB / 0.8384 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/0.1871, allocations: 188.9 kB / 0.8386 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.1875, allocations: 67.89 kB / 0.8387 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.1906, allocations: 2.403 MB / 0.841 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.191, allocations: 19.98 kB / 0.841 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.1911, allocations: 16.05 kB / 0.841 GB, free: 14.57 MB / 0.5919 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 0.0001884/0.1912, allocations: 170.3 kB / 0.8412 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.1913, allocations: 27.8 kB / 0.8412 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.1919, allocations: 357.2 kB / 0.8416 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1919, allocations: 4 kB / 0.8416 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1919, allocations: 0 / 0.8416 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1919, allocations: 0 / 0.8416 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1932, allocations: 0.7982 MB / 0.8423 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1932, allocations: 0 / 0.8423 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.1936, allocations: 67.95 kB / 0.8424 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.1936, allocations: 7.984 kB / 0.8424 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.1936, allocations: 8 kB / 0.8424 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1936, allocations: 3.938 kB / 0.8424 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1936, allocations: 0 / 0.8424 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008313/0.1945, allocations: 0.6117 MB / 0.843 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1946, allocations: 47.86 kB / 0.8431 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.1947, allocations: 8 kB / 0.8431 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1949, allocations: 19.92 kB / 0.8431 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.195, allocations: 19.91 kB / 0.8431 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.195, allocations: 8 kB / 0.8431 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002451/0.1952, allocations: 196.4 kB / 0.8433 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1952, allocations: 0 / 0.8433 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004271/0.1957, allocations: 84 kB / 0.8434 GB, free: 12.08 MB / 0.5919 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.0001538/0.1958, allocations: 111.2 kB / 0.8435 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.1968, allocations: 0.5169 MB / 0.844 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1968, allocations: 0 / 0.844 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.197, allocations: 139.9 kB / 0.8441 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.1975, allocations: 67.2 kB / 0.8442 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1991, allocations: 0.8291 MB / 0.845 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1996, allocations: 0.799 MB / 0.8458 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.1998, allocations: 78.91 kB / 0.8459 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.1999, allocations: 27.42 kB / 0.8459 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.1999, allocations: 0 / 0.8459 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of Templates: time 0.009344/0.2092, allocations: 4.446 MB / 0.8502 GB, free: 5.016 MB / 0.5919 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: 6.0666464334353805] Failed to read output from testmodel.py, exit status != 0: 0.21682472992688417 0.23234976100000002 0.056262034 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fecfcc217b0>