Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 117.1 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8899/0.8899, allocations: 129.2 MB / 432.5 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4153, allocations: 83.45 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02721/0.4425, allocations: 22.92 MB / 0.7026 GB, free: 4.328 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.03249/0.475, allocations: 17.79 MB / 0.72 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004306/0.4793, allocations: 111.4 kB / 0.7201 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.4916, allocations: 4.224 MB / 0.7242 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.5042, allocations: 3.578 MB / 0.7277 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.5086, allocations: 1.314 MB / 0.729 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.5195, allocations: 5.791 MB / 0.7346 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006776/0.5263, allocations: 2.799 MB / 0.7374 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.5321, allocations: 2.484 MB / 0.7398 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.5379, allocations: 2.51 MB / 0.7422 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.5397, allocations: 372 kB / 0.7426 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.5435, allocations: 1.061 MB / 0.7436 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.5459, allocations: 1.219 MB / 0.7448 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005479/0.5513, allocations: 1.998 MB / 0.7468 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.5633, allocations: 5.203 MB / 0.7519 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5633, allocations: 3.938 kB / 0.7519 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5633, allocations: 0 / 0.7519 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000208/0.5635, allocations: 0 / 0.7519 GB, free: 4.344 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01395/0.5775, allocations: 4.73 MB / 0.7565 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5775, allocations: 8.031 kB / 0.7565 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/0.5786, allocations: 370.3 kB / 0.7568 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.595, allocations: 3.279 MB / 0.76 GB, free: 11.83 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.601, allocations: 2.25 MB / 0.7622 GB, free: 9.516 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005514/0.6016, allocations: 470 kB / 0.7627 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.6027, allocations: 232 kB / 0.7629 GB, free: 8.766 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.6177, allocations: 4.814 MB / 0.7676 GB, free: 3.805 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.6178, allocations: 3.938 kB / 0.7676 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/0.6191, allocations: 104 kB / 0.7677 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003391/0.6194, allocations: 168.8 kB / 0.7679 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.6352, allocations: 5.198 MB / 0.7729 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.6624, allocations: 14.41 MB / 0.787 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.6728, allocations: 3.265 MB / 0.7902 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.6766, allocations: 1.369 MB / 0.7915 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.6768, allocations: 29.3 kB / 0.7916 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004805/0.6816, allocations: 1.794 MB / 0.7933 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 4.779e-06/0.6816, allocations: 4 kB / 0.7933 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1247/0.8063, allocations: 28.19 MB / 0.8209 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002978/0.8066, allocations: 0.4889 MB / 0.8213 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.8108, allocations: 2.304 MB / 0.8236 GB, free: 8.867 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005001/0.8113, allocations: 77.7 kB / 0.8237 GB, free: 8.785 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.8127, allocations: 1.46 MB / 0.8251 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.8139, allocations: 0.8598 MB / 0.8259 GB, free: 6.445 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.8151, allocations: 420.5 kB / 0.8263 GB, free: 6.027 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8153, allocations: 309.1 kB / 0.8266 GB, free: 5.723 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/0.8206, allocations: 1.929 MB / 0.8285 GB, free: 3.789 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/0.8264, allocations: 2.239 MB / 0.8307 GB, free: 1.469 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.8373, allocations: 4.154 MB / 0.8348 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.8374, allocations: 7.875 kB / 0.8348 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02026/0.8576, allocations: 6.471 MB / 0.8411 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8577, allocations: 152.5 kB / 0.8412 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.8578, allocations: 4 kB / 0.8412 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.8682, allocations: 2.934 MB / 0.8441 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.8711, allocations: 495.2 kB / 0.8446 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04581/0.9169, allocations: 18.85 MB / 0.863 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/0.9211, allocations: 319.6 kB / 0.8633 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005503/0.9216, allocations: 91.97 kB / 0.8634 GB, free: 15.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.9236, allocations: 0.7144 MB / 0.8641 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/0.9246, allocations: 345.9 kB / 0.8644 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.9256, allocations: 384.1 kB / 0.8648 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.9256, allocations: 24 kB / 0.8648 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-05/0.9257, allocations: 8 kB / 0.8648 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.9257, allocations: 11.95 kB / 0.8648 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.9317, allocations: 3.628 MB / 0.8683 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.9317, allocations: 7.984 kB / 0.8684 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/0.9342, allocations: 407.4 kB / 0.8687 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.9445, allocations: 2.88 MB / 0.8716 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004761/0.945, allocations: 51.97 kB / 0.8716 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.369/1.314, allocations: 18.62 MB / 0.8898 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.314, allocations: 7.812 kB / 0.8898 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.333, allocations: 6.107 MB / 0.8958 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/1.335, allocations: 0.7103 MB / 0.8965 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009686/1.336, allocations: 52.44 kB / 0.8965 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003632/1.34, allocations: 311.3 kB / 0.8968 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/1.341, allocations: 356.5 kB / 0.8971 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/1.342, allocations: 70.22 kB / 0.8972 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002779/1.344, allocations: 1.536 MB / 0.8987 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.344, allocations: 0 / 0.8987 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003895/1.348, allocations: 1.044 MB / 0.8997 GB, free: 168.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01836/1.367, allocations: 6.743 MB / 0.9063 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02133/1.388, allocations: 6.321 MB / 0.9125 GB, free: 163.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.388, allocations: 2 kB / 0.9125 GB, free: 163.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/1.404, allocations: 3.933 MB / 0.9163 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005383/1.409, allocations: 1.133 MB / 0.9174 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06619/1.475, allocations: 31.8 MB / 0.9485 GB, free: 129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.478, allocations: 2.238 MB / 0.9507 GB, free: 126.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00253/1.48, allocations: 0.5088 MB / 0.9512 GB, free: 126.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.482, allocations: 1.335 MB / 0.9525 GB, free: 124.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.673e-06/1.482, allocations: 8 kB / 0.9525 GB, free: 124.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/1.627, allocations: 103.3 MB / 1.053 GB, free: 22.74 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.05/21.68, allocations: 13.25 kB / 1.053 GB, free: 22.73 MB / 0.6856 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.407506086863577] Failed to read output from testmodel.py, exit status != 0: 21.843521750997752 21.859791603 21.292490021 Calling exit ...