Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0008453/0.0008453, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.000866/0.000866, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9819/0.9819, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8387/0.8387, allocations: 203.8 MB / 0.5042 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 74.73 kB / 0.7182 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5581, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002434/0.5606, allocations: 1.653 MB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.5629, allocations: 1.667 MB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.563, allocations: 3.938 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.5635, allocations: 54.92 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.5637, allocations: 104.3 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.5639, allocations: 73.05 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.5641, allocations: 180.8 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.5641, allocations: 6.578 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.5642, allocations: 69.8 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.5644, allocations: 72.39 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.5644, allocations: 11.34 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.5646, allocations: 107.3 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.5646, allocations: 54.03 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.5647, allocations: 53.19 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.5651, allocations: 244.9 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5651, allocations: 5.25 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5651, allocations: 0 / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5651, allocations: 0 / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006486/0.5658, allocations: 424.2 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5658, allocations: 14.19 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.5659, allocations: 36.81 kB / 0.8225 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.5659, allocations: 16.06 kB / 0.8225 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.5663, allocations: 192.3 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5663, allocations: 10.02 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.5663, allocations: 10.72 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.5666, allocations: 151.8 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.5666, allocations: 0 / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5666, allocations: 1.156 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5666, allocations: 0.75 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.5669, allocations: 196.5 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.5671, allocations: 207.6 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.5675, allocations: 195.9 kB / 0.8234 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.5676, allocations: 57.95 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.5676, allocations: 1.531 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.5678, allocations: 128.4 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.5678, allocations: 3.938 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004335/0.5683, allocations: 259.5 kB / 0.8239 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5683, allocations: 88.19 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.5685, allocations: 256.1 kB / 0.8242 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5686, allocations: 32.84 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.5686, allocations: 114.9 kB / 0.8243 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.5687, allocations: 45.69 kB / 0.8244 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.5687, allocations: 34.48 kB / 0.8244 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5688, allocations: 329.5 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.5689, allocations: 54.52 kB / 0.8248 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.569, allocations: 113.4 kB / 0.8249 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.5692, allocations: 143.2 kB / 0.825 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5692, allocations: 7.5 kB / 0.825 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002804/0.5695, allocations: 225.1 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5695, allocations: 4.688 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5695, allocations: 1.125 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5695, allocations: 1.844 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5697, allocations: 29 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.5697, allocations: 1.719 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.5697, allocations: 12.34 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.5697, allocations: 9.609 kB / 0.8253 GB, free: 12.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.5698, allocations: 147.3 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.5699, allocations: 15.88 kB / 0.8255 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.5703, allocations: 283 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5703, allocations: 1.562 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5703, allocations: 1 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5703, allocations: 5.109 kB / 0.8257 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.5705, allocations: 228.2 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5705, allocations: 0.5625 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.5706, allocations: 40.86 kB / 0.826 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5706, allocations: 0 / 0.826 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5706, allocations: 7.875 kB / 0.826 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5706, allocations: 3.906 kB / 0.826 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5706, allocations: 0.8438 kB / 0.826 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.5709, allocations: 277.1 kB / 0.8263 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.571, allocations: 28.59 kB / 0.8263 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.571, allocations: 7.312 kB / 0.8263 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.571, allocations: 7.484 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5711, allocations: 14.27 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.5711, allocations: 8.156 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001652/0.5713, allocations: 199.1 kB / 0.8265 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5713, allocations: 1.5 kB / 0.8265 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002669/0.5715, allocations: 59.55 kB / 0.8266 GB, free: 11.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.573, allocations: 1.244 MB / 0.8278 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.5733, allocations: 150.5 kB / 0.8279 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5733, allocations: 1.188 kB / 0.8279 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5734, allocations: 88.91 kB / 0.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.5736, allocations: 51.2 kB / 0.8281 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5757, allocations: 2.127 MB / 0.8301 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.5758, allocations: 116.2 kB / 0.8303 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.576, allocations: 45.27 kB / 0.8303 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5761, allocations: 72.67 kB / 0.8304 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of SimCode: time 1.313e-06/0.5761, allocations: 4 kB / 0.8304 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.6033, allocations: 6.35 MB / 0.8366 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.685, allocations: 9.109 kB / 0.8366 GB, free: 6.828 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.74256392987445] Failed to read output from testmodel.py, exit status != 0: 7.786165899597108 7.801591592 7.234214559 Calling exit ...