Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.001388/0.001388, allocations: 109.7 kB / 16.45 MB, free: 6.035 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.001403/0.001403, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.346/1.346, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 175.8 MB / 478.4 MB, free: 8.441 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.28 kB / 0.6652 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1982, allocations: 94.54 MB / 0.7575 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.3902/0.5884, allocations: 43.96 MB / 0.8004 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.6043, allocations: 8.465 MB / 0.8087 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.6065, allocations: 40.06 kB / 0.8087 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.6088, allocations: 0.5274 MB / 0.8093 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.6141, allocations: 1.58 MB / 0.8108 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.6178, allocations: 1.194 MB / 0.812 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004523/0.6224, allocations: 2.617 MB / 0.8145 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.6242, allocations: 0.7632 MB / 0.8153 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.628, allocations: 1.471 MB / 0.8167 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.6298, allocations: 0.7375 MB / 0.8174 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.6301, allocations: 86.88 kB / 0.8175 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.6329, allocations: 0.8926 MB / 0.8184 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.6335, allocations: 260 kB / 0.8186 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.6348, allocations: 0.5364 MB / 0.8192 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.6391, allocations: 1.694 MB / 0.8208 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6391, allocations: 1.219 kB / 0.8208 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6391, allocations: 3.938 kB / 0.8208 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.353e-05/0.6392, allocations: 0 / 0.8208 GB, free: 14.77 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003439/0.6427, allocations: 1.4 MB / 0.8222 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6427, allocations: 9.438 kB / 0.8222 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.6429, allocations: 112.8 kB / 0.8223 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.6433, allocations: 125.8 kB / 0.8224 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.6453, allocations: 0.8367 MB / 0.8232 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.6453, allocations: 53.56 kB / 0.8233 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6455, allocations: 71.16 kB / 0.8233 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.6472, allocations: 0.789 MB / 0.8241 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6473, allocations: 1.125 kB / 0.8241 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.6473, allocations: 28.16 kB / 0.8241 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.6474, allocations: 17.25 kB / 0.8242 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.6486, allocations: 0.5112 MB / 0.8247 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.6541, allocations: 3.833 MB / 0.8284 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.6549, allocations: 311.4 kB / 0.8287 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.6553, allocations: 199.8 kB / 0.8289 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.6565, allocations: 1.304 MB / 0.8302 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000614/0.6571, allocations: 259.6 kB / 0.8304 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.387e-06/0.6571, allocations: 0 / 0.8304 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.001704/0.6588, allocations: 0.6554 MB / 0.8311 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.6589, allocations: 107.1 kB / 0.8312 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.6605, allocations: 0.8107 MB / 0.8319 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.6606, allocations: 39.14 kB / 0.832 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.6611, allocations: 480.7 kB / 0.8324 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.6613, allocations: 141.5 kB / 0.8326 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.6616, allocations: 134.5 kB / 0.8327 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6617, allocations: 326 kB / 0.833 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.6622, allocations: 175.2 kB / 0.8332 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.6628, allocations: 388.3 kB / 0.8336 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.6638, allocations: 0.5534 MB / 0.8341 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.6638, allocations: 1.781 kB / 0.8341 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001618/0.6654, allocations: 0.64 MB / 0.8347 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.6655, allocations: 10.67 kB / 0.8347 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6655, allocations: 5.094 kB / 0.8347 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.6655, allocations: 13.69 kB / 0.8348 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.666, allocations: 123.4 kB / 0.8349 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/0.666, allocations: 24.83 kB / 0.8349 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.6669, allocations: 84.36 kB / 0.835 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.667, allocations: 35.94 kB / 0.835 GB, free: 3.246 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0005646/0.6676, allocations: 262.8 kB / 0.8353 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.6679, allocations: 97.2 kB / 0.8354 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.6703, allocations: 1.084 MB / 0.8364 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.6703, allocations: 20.7 kB / 0.8364 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6704, allocations: 0 / 0.8364 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6704, allocations: 7.984 kB / 0.8364 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.6743, allocations: 1.954 MB / 0.8383 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.6743, allocations: 7.438 kB / 0.8384 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.6746, allocations: 84.86 kB / 0.8384 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.6747, allocations: 4.75 kB / 0.8384 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.6747, allocations: 22.02 kB / 0.8385 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.6747, allocations: 9.812 kB / 0.8385 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6747, allocations: 7.281 kB / 0.8385 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.6766, allocations: 0.9832 MB / 0.8394 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.6773, allocations: 278 kB / 0.8397 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.6776, allocations: 19.38 kB / 0.8397 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.6781, allocations: 37.94 kB / 0.8398 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6782, allocations: 52.84 kB / 0.8398 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.6783, allocations: 38.72 kB / 0.8398 GB, free: 28 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001095/0.6794, allocations: 0.5529 MB / 0.8404 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6794, allocations: 4 kB / 0.8404 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001523/0.681, allocations: 352.9 kB / 0.8407 GB, free: 15.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.004825/0.6858, allocations: 2.204 MB / 0.8429 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.6873, allocations: 0.5695 MB / 0.8434 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.6873, allocations: 5.25 kB / 0.8434 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.6881, allocations: 349.3 kB / 0.8438 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.6905, allocations: 402.2 kB / 0.8442 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.703, allocations: 6.755 MB / 0.8507 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.7039, allocations: 1.05 MB / 0.8518 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007124/0.7046, allocations: 187 kB / 0.852 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.7051, allocations: 383.2 kB / 0.8523 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.7051, allocations: 0 / 0.8523 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07567/0.7808, allocations: 28.96 MB / 0.8806 GB, free: 9.273 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.822/10.6, allocations: 10.42 kB / 0.8806 GB, free: 9.27 MB / 0.67 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.357091923244298] Failed to read output from testmodel.py, exit status != 0: 10.770726872142404 10.793132976 10.149556447 Calling exit ...