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.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.0007763/0.0007763, 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.0008747/0.0008747, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8789/0.8789, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5387/0.5387, allocations: 114 MB / 373.9 MB, free: 8.695 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.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 1.442e-06/1.442e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.015e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01487/0.01489, allocations: 20.92 MB / 0.5746 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.03162, allocations: 16.66 MB / 0.5909 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.03408, allocations: 166.7 kB / 0.5911 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.03914, allocations: 4.181 MB / 0.5951 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009665/0.0488, allocations: 3.694 MB / 0.5988 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.05198, allocations: 1.316 MB / 0.6 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006879/0.05886, allocations: 5.965 MB / 0.6059 GB, free: 13.71 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.06231, allocations: 2.849 MB / 0.6086 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/0.06666, allocations: 3.699 MB / 0.6123 GB, free: 7.082 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.06882, allocations: 1.909 MB / 0.6141 GB, free: 5.168 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003411/0.06916, allocations: 368 kB / 0.6145 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.07045, allocations: 0.9668 MB / 0.6154 GB, free: 3.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.07111, allocations: 1.269 MB / 0.6167 GB, free: 2.566 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.07214, allocations: 1.364 MB / 0.618 GB, free: 1.199 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.07565, allocations: 5.218 MB / 0.6231 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.07565, allocations: 0 / 0.6231 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.733e-06/0.07566, allocations: 0 / 0.6231 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.623e-05/0.07569, allocations: 4 kB / 0.6231 GB, free: 11.96 MB / 0.5886 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.005026/0.08072, allocations: 4.606 MB / 0.6276 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.08076, allocations: 8.625 kB / 0.6276 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003214/0.08108, allocations: 358.3 kB / 0.6279 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007075/0.08816, allocations: 3.283 MB / 0.6311 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.09048, allocations: 2.162 MB / 0.6333 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.09071, allocations: 462.3 kB / 0.6337 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.09099, allocations: 240.3 kB / 0.6339 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00583/0.09682, allocations: 5.371 MB / 0.6392 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.09685, allocations: 0 / 0.6392 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.09706, allocations: 99.98 kB / 0.6393 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.09717, allocations: 172.8 kB / 0.6394 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/0.1041, allocations: 5.194 MB / 0.6445 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.1141, allocations: 9.166 MB / 0.6535 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.1191, allocations: 3.248 MB / 0.6566 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.121, allocations: 1.378 MB / 0.658 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.691e-05/0.1211, allocations: 17.31 kB / 0.658 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002337/0.1234, allocations: 2.457 MB / 0.6604 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=163): time 2.345e-06/0.1234, allocations: 0 / 0.6604 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=250): time 0.3401/0.4636, allocations: 27.53 MB / 0.6873 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.4637, allocations: 0.4923 MB / 0.6878 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4658, allocations: 2.315 MB / 0.69 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.4659, allocations: 76.17 kB / 0.6901 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.4666, allocations: 1.453 MB / 0.6915 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.467, allocations: 0.8478 MB / 0.6923 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/0.4675, allocations: 415.2 kB / 0.6927 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.4676, allocations: 315.3 kB / 0.693 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/0.4702, allocations: 2.06 MB / 0.695 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.4729, allocations: 2.78 MB / 0.6978 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/0.478, allocations: 4.167 MB / 0.7018 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.478, allocations: 1.531 kB / 0.7018 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00902/0.4871, allocations: 6.615 MB / 0.7083 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.4871, allocations: 150.8 kB / 0.7084 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4871, allocations: 8.312 kB / 0.7084 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/0.4927, allocations: 2.927 MB / 0.7113 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.494, allocations: 489.6 kB / 0.7118 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/0.5161, allocations: 18.28 MB / 0.7296 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.5184, allocations: 329.1 kB / 0.7299 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.5185, allocations: 91.88 kB / 0.73 GB, free: 135 MB / 0.6355 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.001236/0.5198, allocations: 0.7065 MB / 0.7307 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.5201, allocations: 348.3 kB / 0.731 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.5204, allocations: 382.9 kB / 0.7314 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.5204, allocations: 25.39 kB / 0.7314 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.564e-05/0.5205, allocations: 11.56 kB / 0.7314 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.5205, allocations: 15.94 kB / 0.7315 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.5235, allocations: 3.036 MB / 0.7344 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5235, allocations: 1.25 kB / 0.7344 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.5246, allocations: 423.6 kB / 0.7348 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004925/0.5295, allocations: 2.86 MB / 0.7376 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5297, allocations: 47.77 kB / 0.7377 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.5481, allocations: 18.06 MB / 0.7553 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5481, allocations: 4 kB / 0.7553 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008968/0.5571, allocations: 6.118 MB / 0.7613 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.5581, allocations: 0.6304 MB / 0.7619 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.5584, allocations: 52 kB / 0.7619 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.5597, allocations: 315.6 kB / 0.7622 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007245/0.5604, allocations: 362.4 kB / 0.7626 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.5606, allocations: 75.91 kB / 0.7627 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001283/0.5618, allocations: 1.532 MB / 0.7642 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5618, allocations: 0 / 0.7642 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001774/0.5636, allocations: 1.047 MB / 0.7652 GB, free: 110.3 MB / 0.6355 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.008365/0.572, allocations: 6.741 MB / 0.7718 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01067/0.5827, allocations: 6.454 MB / 0.7781 GB, free: 96.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5827, allocations: 8 kB / 0.7781 GB, free: 96.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007512/0.5902, allocations: 3.914 MB / 0.7819 GB, free: 93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.593, allocations: 1.135 MB / 0.783 GB, free: 91.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/0.6293, allocations: 32.56 MB / 0.8148 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.6304, allocations: 1.688 MB / 0.8165 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001487/0.6319, allocations: 0.4976 MB / 0.8169 GB, free: 56.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/0.6328, allocations: 1.34 MB / 0.8183 GB, free: 55.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.6328, allocations: 0 / 0.8183 GB, free: 55.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.737, allocations: 106.8 MB / 0.9225 GB, free: 13.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.13, allocations: 6.875 kB / 0.9225 GB, free: 13.91 MB / 0.698 GB " [Timeout remaining time 648] (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: 14.656613792292774] Failed to read output from testmodel.py, exit status != 0: 12.270277757197618 12.279713475 12.202295972 Calling exit ...