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.0007986/0.0007986, allocations: 72.5 kB / 19.92 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.0009296/0.0009296, allocations: 173.9 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.9125/0.9125, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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.5618/0.5618, allocations: 114 MB / 373.9 MB, free: 8.703 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: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.852e-05, allocations: 8.797 kB / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.003775/0.003804, allocations: 3.73 MB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005637, allocations: 1.698 MB / 0.5595 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.005768, allocations: 7.938 kB / 0.5595 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.006591, allocations: 493.9 kB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.006953, allocations: 238.6 kB / 0.5602 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.007288, allocations: 211.3 kB / 0.5604 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.007892, allocations: 490.1 kB / 0.5608 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.008288, allocations: 289.4 kB / 0.5611 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.008497, allocations: 283.3 kB / 0.5614 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.008779, allocations: 191.5 kB / 0.5616 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.008813, allocations: 28 kB / 0.5616 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.009072, allocations: 223.4 kB / 0.5618 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.009165, allocations: 131.6 kB / 0.5619 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.009252, allocations: 119.8 kB / 0.5621 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.009656, allocations: 0.5101 MB / 0.5625 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.009666, allocations: 3.984 kB / 0.5626 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.009667, allocations: 4 kB / 0.5626 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.009673, allocations: 4 kB / 0.5626 GB, free: 10.19 MB / 0.5261 GB 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.0007148/0.01039, allocations: 0.5634 MB / 0.5631 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.01043, allocations: 8.625 kB / 0.5631 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.01048, allocations: 74.7 kB / 0.5632 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.01097, allocations: 140.6 kB / 0.5633 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.01124, allocations: 225.2 kB / 0.5635 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.01126, allocations: 29 kB / 0.5636 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.01129, allocations: 24.38 kB / 0.5636 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.01179, allocations: 0.5787 MB / 0.5642 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0118, allocations: 192 / 0.5642 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.01183, allocations: 16.12 kB / 0.5642 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.01187, allocations: 40.56 kB / 0.5642 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.0122, allocations: 322.3 kB / 0.5645 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01342, allocations: 1.571 MB / 0.5661 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01367, allocations: 162.6 kB / 0.5662 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.01383, allocations: 104.7 kB / 0.5663 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.01384, allocations: 0 / 0.5663 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01386, allocations: 34.56 kB / 0.5663 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.01386, allocations: 0 / 0.5663 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0003991/0.01426, allocations: 233.4 kB / 0.5666 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.01428, allocations: 55.41 kB / 0.5666 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01447, allocations: 269.8 kB / 0.5669 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01448, allocations: 29.64 kB / 0.5669 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.01457, allocations: 212.3 kB / 0.5671 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.0146, allocations: 47.64 kB / 0.5671 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.01465, allocations: 49.89 kB / 0.5672 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.01474, allocations: 330.8 kB / 0.5675 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.01506, allocations: 56.44 kB / 0.5676 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.01516, allocations: 140.1 kB / 0.5677 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01534, allocations: 222.9 kB / 0.5679 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01534, allocations: 8 kB / 0.5679 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002714/0.01562, allocations: 258 kB / 0.5682 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01563, allocations: 8 kB / 0.5682 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01564, allocations: 0 / 0.5682 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.01577, allocations: 33.22 kB / 0.5682 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.01589, allocations: 51.91 kB / 0.5683 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007074/0.01659, allocations: 1.322 MB / 0.5695 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-05/0.01668, allocations: 27.78 kB / 0.5696 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.0167, allocations: 8 kB / 0.5696 GB, free: 2.508 MB / 0.5261 GB 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.0001147/0.01681, allocations: 170.8 kB / 0.5697 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01684, allocations: 27.8 kB / 0.5698 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.01686, allocations: 29.77 kB / 0.5698 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01687, allocations: 0 / 0.5698 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01687, allocations: 0 / 0.5698 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01687, allocations: 0 / 0.5698 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.01742, allocations: 0.6045 MB / 0.5704 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01742, allocations: 8.188 kB / 0.5704 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.01747, allocations: 16 kB / 0.5704 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.056e-05/0.01753, allocations: 29.02 kB / 0.5704 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01754, allocations: 7.938 kB / 0.5704 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005896/0.01813, allocations: 1.315 MB / 0.5717 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01813, allocations: 12.08 kB / 0.5717 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01835, allocations: 310.5 kB / 0.572 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.0184, allocations: 39.77 kB / 0.5721 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.01842, allocations: 8 kB / 0.5721 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.01851, allocations: 12 kB / 0.5721 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.01853, allocations: 23.84 kB / 0.5721 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01854, allocations: 4 kB / 0.5721 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001189/0.01866, allocations: 189.2 kB / 0.5723 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.01866, allocations: 4 kB / 0.5723 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002562/0.01891, allocations: 79.84 kB / 0.5724 GB, free: 15.4 MB / 0.5417 GB 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.0003936/0.01931, allocations: 0.8531 MB / 0.5732 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.01963, allocations: 275 kB / 0.5735 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01963, allocations: 0 / 0.5735 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.01975, allocations: 182.5 kB / 0.5737 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.02007, allocations: 50.5 kB / 0.5737 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.0224, allocations: 2.713 MB / 0.5763 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.02252, allocations: 182.1 kB / 0.5765 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.02263, allocations: 42.45 kB / 0.5766 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.02272, allocations: 84.47 kB / 0.5766 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/0.02272, allocations: 3.938 kB / 0.5766 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.04498, allocations: 6.254 MB / 0.5828 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.16, allocations: 2.25 kB / 0.5828 GB, free: 4.727 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.782485382631421] Failed to read output from testmodel.py, exit status != 0: 7.245513777248561 7.257780533 7.246000967 Calling exit ...