Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001494/0.001494, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.001595/0.001595, allocations: 157.7 kB / 23.52 MB, free: 0.9219 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 1.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9732/0.9732, allocations: 115 MB / 375.3 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0.7656 kB / 480.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.253e-05, allocations: 6.25 kB / 480.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004096/0.004129, allocations: 3.026 MB / 483.8 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.0077, allocations: 1.864 MB / 485.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.007917, allocations: 8.156 kB / 485.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.009086, allocations: 284.2 kB / 485.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.009703, allocations: 198.4 kB / 486.1 MB, free: 8.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.01061, allocations: 261.3 kB / 486.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.01106, allocations: 333.4 kB / 486.7 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.01145, allocations: 150.6 kB / 486.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.01177, allocations: 190.3 kB / 487 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.01208, allocations: 136.5 kB / 487.2 MB, free: 8.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.01213, allocations: 20.75 kB / 487.2 MB, free: 8.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007455/0.01287, allocations: 384.7 kB / 487.6 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.013, allocations: 94.59 kB / 487.7 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.01313, allocations: 82.14 kB / 487.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.01392, allocations: 0.5181 MB / 488.3 MB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01392, allocations: 4 kB / 488.3 MB, free: 7.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01393, allocations: 1.656 kB / 488.3 MB, free: 7.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01393, allocations: 4.328 kB / 488.3 MB, free: 7.668 MB / 410.7 MB 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.0008372/0.01477, allocations: 0.4896 MB / 488.8 MB, free: 7.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01481, allocations: 8.312 kB / 488.8 MB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.01573, allocations: 171.8 kB / 488.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.01607, allocations: 205.1 kB / 489.1 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.01611, allocations: 20.77 kB / 489.2 MB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.01615, allocations: 25.48 kB / 489.2 MB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.01675, allocations: 404.8 kB / 489.6 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.01677, allocations: 1.562 kB / 489.6 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.01681, allocations: 8.594 kB / 489.6 MB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.01686, allocations: 28.14 kB / 489.6 MB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.01735, allocations: 295.2 kB / 489.9 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.01937, allocations: 1.232 MB / 491.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.01984, allocations: 241.8 kB / 491.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.01999, allocations: 99.66 kB / 491.5 MB, free: 21.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/0.02008, allocations: 12.23 kB / 491.5 MB, free: 21.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.02011, allocations: 36.78 kB / 491.5 MB, free: 21.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.02011, allocations: 4.938 kB / 491.5 MB, free: 21.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.002718/0.02283, allocations: 0.9041 MB / 492.4 MB, free: 21.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.02287, allocations: 84.48 kB / 492.5 MB, free: 21.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.02319, allocations: 207.8 kB / 492.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.02322, allocations: 31.77 kB / 492.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.02334, allocations: 175.2 kB / 492.9 MB, free: 20.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.02339, allocations: 76.36 kB / 493 MB, free: 20.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.0235, allocations: 65.81 kB / 493 MB, free: 20.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.02369, allocations: 333.7 kB / 493.4 MB, free: 20.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.0239, allocations: 131.2 kB / 493.5 MB, free: 20.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.02417, allocations: 210.9 kB / 493.7 MB, free: 20.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.02466, allocations: 368.7 kB / 494.1 MB, free: 19.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02467, allocations: 2.375 kB / 494.1 MB, free: 19.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009511/0.02562, allocations: 0.5222 MB / 494.6 MB, free: 19.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.02564, allocations: 6 kB / 494.6 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.02566, allocations: 3.75 kB / 494.6 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.02643, allocations: 186.2 kB / 494.8 MB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.0267, allocations: 57.69 kB / 494.8 MB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.0304, allocations: 3.944 MB / 498.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.03066, allocations: 18.98 kB / 498.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.03069, allocations: 14.34 kB / 498.8 MB, free: 15.96 MB / 426.7 MB 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.000232/0.03092, allocations: 163.2 kB / 499 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.03102, allocations: 30.73 kB / 499 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/0.03191, allocations: 467.9 kB / 499.5 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.03191, allocations: 2.406 kB / 499.5 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.03191, allocations: 1.469 kB / 499.5 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.03192, allocations: 4.609 kB / 499.5 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.03341, allocations: 0.8979 MB / 0.4886 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-05/0.03347, allocations: 2.75 kB / 0.4886 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.03361, allocations: 35.81 kB / 0.4887 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005507/0.03416, allocations: 170.4 kB / 0.4888 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.03418, allocations: 8.906 kB / 0.4888 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.03787, allocations: 3.914 MB / 0.4927 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.03787, allocations: 2.375 kB / 0.4927 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.03899, allocations: 0.6203 MB / 0.4933 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.03913, allocations: 48.97 kB / 0.4933 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.03917, allocations: 8.469 kB / 0.4933 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.03941, allocations: 20.28 kB / 0.4934 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.03949, allocations: 30 kB / 0.4934 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.03952, allocations: 11.62 kB / 0.4934 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002447/0.03977, allocations: 152.8 kB / 0.4935 GB, free: 10.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03977, allocations: 0 / 0.4935 GB, free: 10.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007486/0.04052, allocations: 91.58 kB / 0.4936 GB, free: 10.71 MB / 426.7 MB 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.0003465/0.04086, allocations: 152.5 kB / 0.4938 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.0421, allocations: 0.5632 MB / 0.4943 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.0421, allocations: 1.156 kB / 0.4943 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.04271, allocations: 388.1 kB / 0.4947 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.04328, allocations: 53.8 kB / 0.4947 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.04446, allocations: 0.6199 MB / 0.4953 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.04476, allocations: 174.5 kB / 0.4955 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.04497, allocations: 61.64 kB / 0.4956 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.04504, allocations: 26.38 kB / 0.4956 GB, free: 9.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.04505, allocations: 0 / 0.4956 GB, free: 9.461 MB / 426.7 MB Notification: Performance of Templates: time 0.01142/0.05646, allocations: 4.186 MB / 0.4997 GB, free: 8.055 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7006156160496175]