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.0008095/0.0008095, allocations: 101.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.0008773/0.0008773, allocations: 209.2 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.9292/0.9292, allocations: 230.6 MB / 256 MB, free: 9.582 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.8172/0.8172, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0008727/0.0008727, allocations: 66.8 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4999, allocations: 102 MB / 0.8178 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002271/0.5022, allocations: 1.647 MB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.504, allocations: 1.667 MB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.504, allocations: 0 / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.5045, allocations: 54.58 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.5047, allocations: 102.2 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.5048, allocations: 76.95 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.505, allocations: 178.7 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.5051, allocations: 7.344 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.5051, allocations: 65.95 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.5052, allocations: 81.34 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.5053, allocations: 12.34 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.5054, allocations: 104.1 kB / 0.8217 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.5056, allocations: 52.42 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.5057, allocations: 51.27 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.506, allocations: 248 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.506, allocations: 1.094 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.165e-06/0.506, allocations: 0 / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.506, 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.000536/0.5066, allocations: 425 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5066, allocations: 13.95 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.5066, allocations: 38.78 kB / 0.8225 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.5067, allocations: 20.22 kB / 0.8225 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.507, allocations: 199.7 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.507, allocations: 2.719 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.507, allocations: 12.28 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.5072, allocations: 153.6 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5072, allocations: 4.875 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5072, allocations: 1.219 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5072, allocations: 0.9375 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.5075, allocations: 195.5 kB / 0.8231 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.5077, allocations: 202.9 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.508, allocations: 193.7 kB / 0.8234 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.5081, allocations: 58.41 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5081, allocations: 1.828 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.5083, allocations: 129 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.5083, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004277/0.5087, allocations: 262.3 kB / 0.8239 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.5088, allocations: 84.34 kB / 0.8239 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.509, allocations: 256.9 kB / 0.8242 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.509, allocations: 33.16 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.5091, allocations: 114.2 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.5091, allocations: 44.06 kB / 0.8244 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.5092, allocations: 31.59 kB / 0.8244 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.5093, allocations: 329.1 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.5094, allocations: 57.94 kB / 0.8248 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.5095, allocations: 115.7 kB / 0.8249 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.5097, allocations: 146.1 kB / 0.825 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5097, allocations: 3.938 kB / 0.825 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002656/0.5099, allocations: 220.7 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5099, allocations: 5.188 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.51, allocations: 1.25 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.51, allocations: 1.688 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.5101, allocations: 24.48 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5101, allocations: 1.984 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.5101, allocations: 16.05 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5101, allocations: 5.719 kB / 0.8253 GB, free: 12.04 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 9.27e-05/0.5102, allocations: 148.9 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.5102, allocations: 15.94 kB / 0.8255 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.5106, allocations: 282.5 kB / 0.8257 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5106, allocations: 3.5 kB / 0.8257 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5106, allocations: 0 / 0.8257 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5106, allocations: 1.641 kB / 0.8257 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.5108, allocations: 230.6 kB / 0.8259 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5108, allocations: 2.297 kB / 0.8259 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.5108, allocations: 33.78 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5109, allocations: 5.25 kB / 0.826 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.5109, allocations: 16.25 kB / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5109, allocations: 0.875 kB / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5109, allocations: 0.6094 kB / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.5112, allocations: 272.2 kB / 0.8263 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.5112, allocations: 32.22 kB / 0.8263 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5112, allocations: 8.344 kB / 0.8263 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.5112, allocations: 8.344 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.5113, allocations: 17.73 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.5113, allocations: 7.188 kB / 0.8263 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001416/0.5114, allocations: 200.7 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5114, allocations: 3.938 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002037/0.5116, allocations: 59.89 kB / 0.8266 GB, free: 11.25 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.00134/0.513, allocations: 1.24 MB / 0.8278 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.5132, allocations: 146.4 kB / 0.8279 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5132, allocations: 3.938 kB / 0.8279 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5133, allocations: 96.91 kB / 0.828 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.5135, allocations: 40.09 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.001953/0.5155, allocations: 2.117 MB / 0.8301 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.5156, allocations: 120.2 kB / 0.8303 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000121/0.5157, allocations: 49.91 kB / 0.8303 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5158, allocations: 71.45 kB / 0.8304 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5158, allocations: 4.562 kB / 0.8304 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.5382, allocations: 6.355 MB / 0.8366 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.419, allocations: 8.766 kB / 0.8366 GB, free: 6.836 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 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.54976484598592] Failed to read output from testmodel.py, exit status != 0: 7.515494059305638 7.525707157 7.017699627 Calling exit ...