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.001076/0.001076, 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.0009298/0.0009298, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5647/0.5647, allocations: 114 MB / 373.9 MB, free: 8.723 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.282e-06/1.282e-06, allocations: 0 / 0.5542 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.684e-05, allocations: 6.781 kB / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004056/0.004073, allocations: 3.727 MB / 0.5578 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.005939, allocations: 1.69 MB / 0.5595 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.006086, allocations: 11.94 kB / 0.5595 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.006893, allocations: 0.4902 MB / 0.56 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.007403, allocations: 234.5 kB / 0.5602 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.007795, allocations: 214.6 kB / 0.5604 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.008193, allocations: 494.2 kB / 0.5609 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.008572, allocations: 289.4 kB / 0.5611 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.008798, allocations: 271.4 kB / 0.5614 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.009102, allocations: 199.5 kB / 0.5616 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.009147, allocations: 28 kB / 0.5616 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.009469, allocations: 219.3 kB / 0.5618 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.009714, allocations: 135.6 kB / 0.5619 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.009809, allocations: 119.7 kB / 0.5621 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.01026, allocations: 0.5179 MB / 0.5626 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01026, allocations: 4 kB / 0.5626 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01026, allocations: 0 / 0.5626 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.01027, allocations: 0 / 0.5626 GB, free: 10.2 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.0007121/0.01098, allocations: 0.5596 MB / 0.5631 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.01102, allocations: 12.62 kB / 0.5631 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.01107, allocations: 74.66 kB / 0.5632 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.01155, allocations: 140.6 kB / 0.5633 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01185, allocations: 229.2 kB / 0.5635 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.01186, allocations: 21.03 kB / 0.5636 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.01189, allocations: 28.38 kB / 0.5636 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.01238, allocations: 0.5825 MB / 0.5642 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01239, allocations: 4.188 kB / 0.5642 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01242, allocations: 20.11 kB / 0.5642 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.01246, allocations: 28.64 kB / 0.5642 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.0128, allocations: 318.3 kB / 0.5645 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.01435, allocations: 1.579 MB / 0.5661 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.0146, allocations: 158.7 kB / 0.5662 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.01475, allocations: 104.7 kB / 0.5663 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.01476, allocations: 0 / 0.5663 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01478, allocations: 38.56 kB / 0.5663 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.01478, allocations: 0 / 0.5663 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0004077/0.01519, allocations: 222.6 kB / 0.5666 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.01522, allocations: 51.41 kB / 0.5666 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.01541, allocations: 277.7 kB / 0.5669 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.01542, allocations: 33.7 kB / 0.5669 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.01551, allocations: 208.3 kB / 0.5671 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.01553, allocations: 43.64 kB / 0.5671 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.01559, allocations: 49.89 kB / 0.5672 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.01567, allocations: 342.8 kB / 0.5675 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.01574, allocations: 56.44 kB / 0.5676 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.01584, allocations: 144.1 kB / 0.5677 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.01601, allocations: 222.8 kB / 0.5679 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01601, allocations: 0 / 0.5679 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002669/0.01628, allocations: 262 kB / 0.5682 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.0163, allocations: 8.375 kB / 0.5682 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.0163, allocations: 8 kB / 0.5682 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.01644, allocations: 24.84 kB / 0.5682 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01656, allocations: 47.92 kB / 0.5683 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007821/0.01734, allocations: 1.31 MB / 0.5695 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01744, allocations: 31.77 kB / 0.5696 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01745, allocations: 12.16 kB / 0.5696 GB, free: 2.516 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.0001192/0.01757, allocations: 165.8 kB / 0.5697 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.0176, allocations: 27.8 kB / 0.5698 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.01763, allocations: 25.84 kB / 0.5698 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01763, allocations: 4 kB / 0.5698 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.01764, allocations: 3.984 kB / 0.5698 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01764, allocations: 4 kB / 0.5698 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.0182, allocations: 0.6085 MB / 0.5704 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01821, allocations: 3.938 kB / 0.5704 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.01825, allocations: 23.98 kB / 0.5704 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/0.01832, allocations: 24.84 kB / 0.5704 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01832, allocations: 0 / 0.5704 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006019/0.01893, allocations: 1.319 MB / 0.5717 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01893, allocations: 8.016 kB / 0.5717 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.01915, allocations: 311.6 kB / 0.572 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.0192, allocations: 43.78 kB / 0.5721 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01921, allocations: 0 / 0.5721 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.01931, allocations: 15.98 kB / 0.5721 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.01962, allocations: 15.86 kB / 0.5721 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.01963, allocations: 16.09 kB / 0.5721 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001188/0.01974, allocations: 189.2 kB / 0.5723 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.01974, allocations: 0 / 0.5723 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002518/0.02, allocations: 75.84 kB / 0.5724 GB, free: 15.41 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.0004002/0.0204, allocations: 0.8547 MB / 0.5732 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.02073, allocations: 270.4 kB / 0.5735 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02073, allocations: 0 / 0.5735 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.02084, allocations: 178.5 kB / 0.5736 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.02116, allocations: 74.56 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.002062/0.02322, allocations: 2.709 MB / 0.5764 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.02335, allocations: 182.1 kB / 0.5765 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.88e-05/0.02344, allocations: 38.27 kB / 0.5766 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.02353, allocations: 84.47 kB / 0.5767 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.02353, allocations: 4 kB / 0.5767 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.04364, allocations: 6.247 MB / 0.5828 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.151, allocations: 6.203 kB / 0.5828 GB, free: 4.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.590238738805056] Failed to read output from testmodel.py, exit status != 0: 7.238704873248935 7.250903805 7.238795591 Calling exit ...