Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 107.2 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 199.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 76.16 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1437/0.4181, allocations: 168.7 MB / 0.7207 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.4235, allocations: 4.267 MB / 0.7249 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.4242, allocations: 19.88 kB / 0.7249 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.4251, allocations: 310.5 kB / 0.7252 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.4271, allocations: 0.9375 MB / 0.7261 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4289, allocations: 0.7453 MB / 0.7269 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.4303, allocations: 1.295 MB / 0.7281 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.4309, allocations: 475.3 kB / 0.7286 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.432, allocations: 0.6655 MB / 0.7292 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.433, allocations: 482.5 kB / 0.7297 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.577e-05/0.4331, allocations: 56 kB / 0.7298 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4344, allocations: 0.947 MB / 0.7307 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4346, allocations: 215.4 kB / 0.7309 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.435, allocations: 330.5 kB / 0.7312 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4362, allocations: 1.173 MB / 0.7323 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4363, allocations: 0 / 0.7323 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4363, allocations: 0 / 0.7323 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.4363, allocations: 0 / 0.7323 GB, free: 15.47 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001547/0.4378, allocations: 0.9466 MB / 0.7333 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4379, allocations: 8.031 kB / 0.7333 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.436e-05/0.438, allocations: 82.53 kB / 0.7334 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.4396, allocations: 267 kB / 0.7336 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.4403, allocations: 485.4 kB / 0.7341 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.4407, allocations: 92.91 kB / 0.7342 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.4407, allocations: 40 kB / 0.7342 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4419, allocations: 0.6185 MB / 0.7348 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4419, allocations: 0 / 0.7348 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.442, allocations: 24 kB / 0.7348 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.442, allocations: 17 kB / 0.7348 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.4434, allocations: 0.562 MB / 0.7354 GB, free: 12.22 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.4471, allocations: 2.272 MB / 0.7376 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.448, allocations: 298.2 kB / 0.7379 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.4486, allocations: 176.7 kB / 0.7381 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.4486, allocations: 0 / 0.7381 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4486, allocations: 38.56 kB / 0.7381 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.4486, allocations: 0 / 0.7381 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004943/0.4536, allocations: 1.106 MB / 0.7392 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4536, allocations: 88.98 kB / 0.7393 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.4542, allocations: 0.5457 MB / 0.7398 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.4542, allocations: 33.7 kB / 0.7398 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.4544, allocations: 303.4 kB / 0.7401 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.4544, allocations: 43.45 kB / 0.7402 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4546, allocations: 61.59 kB / 0.7402 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4547, allocations: 354.8 kB / 0.7406 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.4553, allocations: 195.8 kB / 0.7407 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.4559, allocations: 277.2 kB / 0.741 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.457, allocations: 414.8 kB / 0.7414 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.457, allocations: 0 / 0.7414 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002555/0.4596, allocations: 0.7356 MB / 0.7421 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4596, allocations: 8 kB / 0.7421 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4596, allocations: 0 / 0.7421 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.4602, allocations: 184.8 kB / 0.7423 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.4606, allocations: 79.88 kB / 0.7424 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.4642, allocations: 2.236 MB / 0.7446 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.4647, allocations: 83.42 kB / 0.7446 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.4648, allocations: 16.17 kB / 0.7447 GB, free: 2.285 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.465, allocations: 186.6 kB / 0.7448 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.4651, allocations: 59.28 kB / 0.7449 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.4652, allocations: 48.03 kB / 0.7449 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4652, allocations: 12 kB / 0.745 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.4652, allocations: 0 / 0.745 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4652, allocations: 0 / 0.745 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.4681, allocations: 1.133 MB / 0.7461 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4681, allocations: 0 / 0.7461 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.4684, allocations: 47.95 kB / 0.7461 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/0.4689, allocations: 184.7 kB / 0.7463 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4689, allocations: 4 kB / 0.7463 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1997/0.6686, allocations: 2.185 MB / 0.7484 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6686, allocations: 1.375 kB / 0.7484 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.6712, allocations: 0.7126 MB / 0.7491 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6715, allocations: 166.5 kB / 0.7493 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.6716, allocations: 2.609 kB / 0.7493 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.6722, allocations: 59.11 kB / 0.7493 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.6723, allocations: 19.23 kB / 0.7493 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.6723, allocations: 11.88 kB / 0.7494 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004275/0.6727, allocations: 395.8 kB / 0.7497 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.61e-07/0.6728, allocations: 0 / 0.7497 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006769/0.6734, allocations: 191 kB / 0.7499 GB, free: 173.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002862/0.6763, allocations: 1.328 MB / 0.7512 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.6778, allocations: 0.5329 MB / 0.7517 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6778, allocations: 1.031 kB / 0.7517 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.6785, allocations: 308.7 kB / 0.752 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.6799, allocations: 315.1 kB / 0.7523 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.6907, allocations: 5.326 MB / 0.7575 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.691, allocations: 0.8625 MB / 0.7584 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004567/0.6915, allocations: 105.1 kB / 0.7585 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.6917, allocations: 165 kB / 0.7586 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6917, allocations: 0 / 0.7586 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.7253, allocations: 16.57 MB / 0.7748 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.7255, allocations: 299.4 kB / 0.7751 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.684, allocations: 0 / 0.7751 GB, free: 163.5 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)