Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001497/0.001497, allocations: 211.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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.00271/0.00271, allocations: 295.2 kB / 312.7 MB, free: 2.566 MB / 238.1 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 1.219/1.219, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 103.2 kB / 0.74 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1692, allocations: 95.38 MB / 0.8331 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004967/0.1742, allocations: 3.066 MB / 0.8361 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1774, allocations: 1.867 MB / 0.8379 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1775, allocations: 8 kB / 0.8379 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009668/0.1785, allocations: 288.8 kB / 0.8382 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.179, allocations: 191.1 kB / 0.8384 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.1796, allocations: 259.2 kB / 0.8386 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.18, allocations: 315 kB / 0.8389 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1803, allocations: 153 kB / 0.8391 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1805, allocations: 139.5 kB / 0.8392 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.1808, allocations: 143.5 kB / 0.8394 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1809, allocations: 23.94 kB / 0.8394 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.1815, allocations: 383.2 kB / 0.8397 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1816, allocations: 83.8 kB / 0.8398 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1817, allocations: 107.5 kB / 0.8399 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.1824, allocations: 0.4905 MB / 0.8404 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1824, allocations: 0 / 0.8404 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1824, allocations: 0 / 0.8404 GB, free: 328 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1824, allocations: 0 / 0.8404 GB, free: 328 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009391/0.1833, allocations: 497.1 kB / 0.8409 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1834, allocations: 9.344 kB / 0.8409 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008106/0.1842, allocations: 116.6 kB / 0.841 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.1846, allocations: 210.9 kB / 0.8412 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1846, allocations: 20.75 kB / 0.8412 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.1846, allocations: 16.38 kB / 0.8412 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.1853, allocations: 404.5 kB / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1853, allocations: 0 / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1853, allocations: 7.938 kB / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.1853, allocations: 28.42 kB / 0.8417 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.1858, allocations: 289.5 kB / 0.8419 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1879, allocations: 1.229 MB / 0.8431 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.1884, allocations: 249 kB / 0.8434 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1886, allocations: 101.7 kB / 0.8435 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.1887, allocations: 11.98 kB / 0.8435 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.1887, allocations: 42.44 kB / 0.8435 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1887, allocations: 0 / 0.8435 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002593/0.1913, allocations: 0.887 MB / 0.8444 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1914, allocations: 81.14 kB / 0.8445 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1916, allocations: 224.1 kB / 0.8447 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1916, allocations: 29.7 kB / 0.8447 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1918, allocations: 176.5 kB / 0.8449 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.1919, allocations: 91.2 kB / 0.845 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.192, allocations: 57.66 kB / 0.845 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1921, allocations: 330.8 kB / 0.8453 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1923, allocations: 131.9 kB / 0.8455 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1926, allocations: 215.1 kB / 0.8457 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1931, allocations: 368.4 kB / 0.846 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1931, allocations: 0 / 0.846 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009412/0.1941, allocations: 0.5121 MB / 0.8465 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1941, allocations: 4 kB / 0.8465 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1941, allocations: 4 kB / 0.8465 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.1946, allocations: 147.6 kB / 0.8467 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1949, allocations: 59.91 kB / 0.8467 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.1984, allocations: 3.938 MB / 0.8506 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1986, allocations: 15.98 kB / 0.8506 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.1986, allocations: 19.98 kB / 0.8506 GB, free: 5.281 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.1988, allocations: 162.4 kB / 0.8508 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.1989, allocations: 31.95 kB / 0.8508 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.1998, allocations: 465.9 kB / 0.8512 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1998, allocations: 4 kB / 0.8512 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1998, allocations: 3.938 kB / 0.8512 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1998, allocations: 3.938 kB / 0.8512 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.2015, allocations: 0.8998 MB / 0.8521 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2015, allocations: 4 kB / 0.8521 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2016, allocations: 31.92 kB / 0.8522 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.202, allocations: 143.5 kB / 0.8523 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.202, allocations: 16 kB / 0.8523 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.2054, allocations: 3.891 MB / 0.8561 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.2054, allocations: 4.031 kB / 0.8561 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.2063, allocations: 0.6255 MB / 0.8567 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2064, allocations: 43.83 kB / 0.8568 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2064, allocations: 8 kB / 0.8568 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2067, allocations: 19.98 kB / 0.8568 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.2067, allocations: 27.89 kB / 0.8568 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2067, allocations: 12.09 kB / 0.8568 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001683/0.2069, allocations: 159 kB / 0.857 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2069, allocations: 0 / 0.857 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005793/0.2075, allocations: 91.88 kB / 0.8571 GB, free: 14.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/0.2077, allocations: 143.1 kB / 0.8572 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2088, allocations: 0.5627 MB / 0.8578 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2088, allocations: 0 / 0.8578 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.2094, allocations: 402.1 kB / 0.8581 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.2099, allocations: 51.39 kB / 0.8582 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2111, allocations: 0.6259 MB / 0.8588 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2113, allocations: 173.2 kB / 0.859 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.2115, allocations: 58.23 kB / 0.859 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.2115, allocations: 19.44 kB / 0.859 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.2115, allocations: 0 / 0.859 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.009538/0.221, allocations: 4.401 MB / 0.8633 GB, free: 7.742 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.272591765969992] Failed to read output from testmodel.py, exit status != 0: 0.2285153493285179 0.24466297 0.059066748 Calling exit ...