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.001467/0.001467, allocations: 113 kB / 18.14 MB, free: 3.816 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.001227/0.001227, allocations: 198.2 kB / 21.42 MB, free: 0.543 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.363/1.363, allocations: 225.6 MB / 250.2 MB, free: 13.27 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.053/1.053, allocations: 175.8 MB / 481.1 MB, free: 7.688 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.001872/0.001872, allocations: 65.91 kB / 0.6693 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5431, allocations: 94.53 MB / 0.7616 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04513/0.5882, allocations: 44.42 MB / 0.805 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.6022, allocations: 8.568 MB / 0.8133 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.6043, allocations: 43.62 kB / 0.8134 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.6062, allocations: 0.5281 MB / 0.8139 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.611, allocations: 1.573 MB / 0.8154 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.6144, allocations: 1.216 MB / 0.8166 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.6186, allocations: 2.634 MB / 0.8192 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.6199, allocations: 0.724 MB / 0.8199 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.6233, allocations: 1.475 MB / 0.8213 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6246, allocations: 0.7307 MB / 0.822 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.6247, allocations: 85.41 kB / 0.8221 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.6269, allocations: 0.9006 MB / 0.823 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.6272, allocations: 255.9 kB / 0.8232 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.6278, allocations: 0.5403 MB / 0.8238 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.6303, allocations: 1.692 MB / 0.8254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6303, allocations: 0 / 0.8254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6303, allocations: 0 / 0.8254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.6303, allocations: 0 / 0.8254 GB, free: 12.95 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.002107/0.6325, allocations: 1.404 MB / 0.8268 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6325, allocations: 8.719 kB / 0.8268 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.6326, allocations: 116.7 kB / 0.8269 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.6329, allocations: 132.2 kB / 0.827 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6342, allocations: 0.8304 MB / 0.8278 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.6343, allocations: 54.34 kB / 0.8279 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.6344, allocations: 65.91 kB / 0.828 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.6357, allocations: 0.7885 MB / 0.8287 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.6357, allocations: 1.188 kB / 0.8287 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.6357, allocations: 28.03 kB / 0.8288 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.6358, allocations: 20.62 kB / 0.8288 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/0.6367, allocations: 0.5121 MB / 0.8293 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.641, allocations: 3.825 MB / 0.833 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.6417, allocations: 318.2 kB / 0.8333 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.6421, allocations: 199.5 kB / 0.8335 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.6432, allocations: 1.313 MB / 0.8348 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.6437, allocations: 255.6 kB / 0.835 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.6437, allocations: 0 / 0.835 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.001412/0.6451, allocations: 0.6594 MB / 0.8357 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.6452, allocations: 107.3 kB / 0.8358 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.6463, allocations: 0.8152 MB / 0.8366 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.6463, allocations: 35.02 kB / 0.8366 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.6468, allocations: 476.9 kB / 0.8371 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6469, allocations: 141.6 kB / 0.8372 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.6471, allocations: 125.8 kB / 0.8373 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6472, allocations: 334.8 kB / 0.8376 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.6476, allocations: 170.7 kB / 0.8378 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.6482, allocations: 394 kB / 0.8382 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.649, allocations: 0.5358 MB / 0.8387 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.649, allocations: 1.656 kB / 0.8387 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001247/0.6503, allocations: 0.6523 MB / 0.8393 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6503, allocations: 6.594 kB / 0.8393 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6503, allocations: 6.031 kB / 0.8394 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.6503, allocations: 19.91 kB / 0.8394 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.6508, allocations: 121.2 kB / 0.8395 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.6508, allocations: 13.42 kB / 0.8395 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.6514, allocations: 84.08 kB / 0.8396 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/0.6514, allocations: 34.39 kB / 0.8396 GB, free: 1.418 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.0003601/0.6518, allocations: 267.8 kB / 0.8399 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.652, allocations: 97.36 kB / 0.84 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.6539, allocations: 1.106 MB / 0.841 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.6539, allocations: 7.75 kB / 0.841 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6539, allocations: 0 / 0.841 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6539, allocations: 5.109 kB / 0.8411 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.6568, allocations: 1.954 MB / 0.843 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6568, allocations: 2.375 kB / 0.843 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.6571, allocations: 85.2 kB / 0.843 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.6571, allocations: 5.875 kB / 0.8431 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.6571, allocations: 25.31 kB / 0.8431 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6572, allocations: 5.375 kB / 0.8431 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.6572, allocations: 7.688 kB / 0.8431 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6586, allocations: 0.9833 MB / 0.844 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.659, allocations: 278 kB / 0.8443 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6591, allocations: 18.84 kB / 0.8443 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.6595, allocations: 37.53 kB / 0.8444 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6596, allocations: 58.2 kB / 0.8444 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.6597, allocations: 30.2 kB / 0.8445 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007621/0.6604, allocations: 0.5569 MB / 0.845 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6604, allocations: 0 / 0.845 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001091/0.6615, allocations: 356.4 kB / 0.8453 GB, free: 13.75 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.003934/0.6654, allocations: 2.198 MB / 0.8475 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.6665, allocations: 0.5673 MB / 0.848 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6665, allocations: 2.875 kB / 0.848 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.6672, allocations: 365.5 kB / 0.8484 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6688, allocations: 403.3 kB / 0.8488 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009904/0.6787, allocations: 6.74 MB / 0.8554 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.6795, allocations: 1.046 MB / 0.8564 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006263/0.6801, allocations: 191 kB / 0.8566 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.6806, allocations: 379.3 kB / 0.8569 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.6806, allocations: 0 / 0.8569 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.747, allocations: 29.06 MB / 0.8853 GB, free: 6.805 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/10.29, allocations: 6.109 kB / 0.8853 GB, free: 6.801 MB / 0.67 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.192632257007062] Failed to read output from testmodel.py, exit status != 0: 10.463220108766109 10.489124048 9.85375647 Calling exit ...