Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.001259/0.001259, allocations: 84.48 kB / 19.94 MB, free: 1.777 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.001368/0.001368, allocations: 161.5 kB / 23.21 MB, free: 4.902 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.375/1.375, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.8945/0.8945, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5546 GB, free: 2.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.529e-05, allocations: 4.953 kB / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005883/0.005908, allocations: 3.73 MB / 0.5583 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.009277, allocations: 1.702 MB / 0.56 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.009564, allocations: 7.938 kB / 0.56 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.01111, allocations: 490 kB / 0.5604 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.01173, allocations: 238.5 kB / 0.5607 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.01235, allocations: 217.8 kB / 0.5609 GB, free: 12.26 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.01303, allocations: 478.2 kB / 0.5613 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.01364, allocations: 289.4 kB / 0.5616 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.0141, allocations: 279.3 kB / 0.5619 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.01456, allocations: 199.5 kB / 0.5621 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.01462, allocations: 28 kB / 0.5621 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.01505, allocations: 223.3 kB / 0.5623 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.01521, allocations: 139.6 kB / 0.5624 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.01538, allocations: 119.7 kB / 0.5625 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.01611, allocations: 0.5179 MB / 0.563 GB, free: 10.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.01611, allocations: 4 kB / 0.5631 GB, free: 10.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01611, allocations: 0 / 0.5631 GB, free: 10.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.01613, allocations: 0 / 0.5631 GB, free: 10.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001032/0.01716, allocations: 0.566 MB / 0.5636 GB, free: 9.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.01719, allocations: 8.625 kB / 0.5636 GB, free: 9.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009935/0.01819, allocations: 132.6 kB / 0.5637 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.01861, allocations: 245.1 kB / 0.564 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.01863, allocations: 25.02 kB / 0.564 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.01868, allocations: 32.31 kB / 0.564 GB, free: 8.965 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.01954, allocations: 0.5709 MB / 0.5646 GB, free: 8.332 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01955, allocations: 4.172 kB / 0.5646 GB, free: 8.328 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.01959, allocations: 16.38 kB / 0.5646 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.01965, allocations: 32.58 kB / 0.5646 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.02017, allocations: 322.2 kB / 0.5649 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.0222, allocations: 1.509 MB / 0.5664 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.02255, allocations: 162.7 kB / 0.5666 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.02283, allocations: 100.8 kB / 0.5667 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.02284, allocations: 0 / 0.5667 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.02288, allocations: 42.44 kB / 0.5667 GB, free: 6.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.02288, allocations: 0 / 0.5667 GB, free: 6.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005868/0.02346, allocations: 218.6 kB / 0.5669 GB, free: 5.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.0235, allocations: 55.41 kB / 0.567 GB, free: 5.773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.02376, allocations: 228 kB / 0.5672 GB, free: 5.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.02378, allocations: 37.7 kB / 0.5672 GB, free: 5.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.02393, allocations: 208.2 kB / 0.5674 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.02397, allocations: 59.52 kB / 0.5675 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.02405, allocations: 45.89 kB / 0.5675 GB, free: 5.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.0242, allocations: 326.8 kB / 0.5678 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.02431, allocations: 60.44 kB / 0.5679 GB, free: 4.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.02447, allocations: 136.1 kB / 0.568 GB, free: 4.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.02477, allocations: 226.1 kB / 0.5682 GB, free: 4.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.02477, allocations: 4 kB / 0.5682 GB, free: 4.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004411/0.02521, allocations: 262.1 kB / 0.5685 GB, free: 4.094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.02523, allocations: 4 kB / 0.5685 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02523, allocations: 4 kB / 0.5685 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.02539, allocations: 24.78 kB / 0.5685 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02559, allocations: 51.92 kB / 0.5686 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.02677, allocations: 1.304 MB / 0.5698 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.02693, allocations: 23.84 kB / 0.5699 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.02695, allocations: 12 kB / 0.5699 GB, free: 2.566 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.02718, allocations: 169.6 kB / 0.57 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.02723, allocations: 23.86 kB / 0.5701 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.02728, allocations: 21.62 kB / 0.5701 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02728, allocations: 11.88 kB / 0.5701 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.02728, allocations: 4 kB / 0.5701 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02729, allocations: 3.984 kB / 0.5701 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.02814, allocations: 0.5506 MB / 0.5706 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.02815, allocations: 4.188 kB / 0.5706 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.02828, allocations: 19.94 kB / 0.5707 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.882e-05/0.02837, allocations: 36.95 kB / 0.5707 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.02838, allocations: 4 kB / 0.5707 GB, free: 1.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.02947, allocations: 1.288 MB / 0.572 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02948, allocations: 0 / 0.572 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.02985, allocations: 305.4 kB / 0.5723 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.02993, allocations: 43.78 kB / 0.5723 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.02996, allocations: 4 kB / 0.5723 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.03012, allocations: 15.98 kB / 0.5723 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.03015, allocations: 11.92 kB / 0.5723 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.03017, allocations: 12 kB / 0.5723 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.03032, allocations: 153.8 kB / 0.5725 GB, free: 15.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03032, allocations: 0 / 0.5725 GB, free: 15.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.03072, allocations: 83.78 kB / 0.5726 GB, free: 15.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.03096, allocations: 109.9 kB / 0.5727 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.03142, allocations: 266.4 kB / 0.5729 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03142, allocations: 0 / 0.5729 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.03165, allocations: 179.7 kB / 0.5731 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.03209, allocations: 66.94 kB / 0.5732 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.03306, allocations: 0.5235 MB / 0.5737 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.03327, allocations: 186.1 kB / 0.5738 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.03339, allocations: 37.92 kB / 0.5739 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.03345, allocations: 24.44 kB / 0.5739 GB, free: 14.14 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.03345, allocations: 0 / 0.5739 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Templates: time 0.006483/0.03993, allocations: 2.415 MB / 0.5763 GB, free: 11.79 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.176666371524334] Failed to read output from testmodel.py, exit status != 0: 0.048388876020908356 0.064125396 0.044623046 Calling exit ...