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.004531/0.004531, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001168/0.001168, allocations: 195.8 kB / 16.79 MB, free: 6.246 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.179/1.179, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6205/0.6205, allocations: 115.3 MB / 406 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 70.41 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3578/0.4757, allocations: 168.7 MB / 0.7206 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.4815, allocations: 4.343 MB / 0.7248 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/0.482, allocations: 19.88 kB / 0.7249 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.4829, allocations: 306.5 kB / 0.7252 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.4848, allocations: 0.9415 MB / 0.7261 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.4864, allocations: 0.7234 MB / 0.7268 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.488, allocations: 1.793 MB / 0.7285 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.4885, allocations: 406.9 kB / 0.7289 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.4895, allocations: 0.5991 MB / 0.7295 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.4903, allocations: 470 kB / 0.73 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.4904, allocations: 31.94 kB / 0.73 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.4918, allocations: 1.005 MB / 0.731 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.492, allocations: 191.3 kB / 0.7311 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.4923, allocations: 306.6 kB / 0.7314 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.4935, allocations: 1.149 MB / 0.7326 GB, free: 1.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4935, allocations: 0 / 0.7326 GB, free: 1.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.71e-07/0.4935, allocations: 0 / 0.7326 GB, free: 1.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4935, allocations: 0 / 0.7326 GB, free: 1.918 MB / 0.545 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.001431/0.495, allocations: 0.9435 MB / 0.7335 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.495, allocations: 8.031 kB / 0.7335 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.4951, allocations: 90.45 kB / 0.7336 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.4967, allocations: 263 kB / 0.7338 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.4974, allocations: 487.6 kB / 0.7343 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.4978, allocations: 92.92 kB / 0.7344 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.4978, allocations: 47.88 kB / 0.7344 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4991, allocations: 0.6146 MB / 0.735 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4991, allocations: 4 kB / 0.735 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.4992, allocations: 19.94 kB / 0.7351 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.4992, allocations: 28.92 kB / 0.7351 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.5006, allocations: 0.5503 MB / 0.7356 GB, free: 14.67 MB / 0.5606 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.003622/0.5042, allocations: 2.278 MB / 0.7378 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.5052, allocations: 298.3 kB / 0.7381 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.5057, allocations: 172.7 kB / 0.7383 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5058, allocations: 3.984 kB / 0.7383 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5058, allocations: 38.56 kB / 0.7383 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.5058, allocations: 0 / 0.7383 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.004982/0.5108, allocations: 1.111 MB / 0.7394 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5108, allocations: 77.11 kB / 0.7395 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.5114, allocations: 0.5534 MB / 0.74 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.5114, allocations: 25.7 kB / 0.7401 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.5116, allocations: 303.5 kB / 0.7403 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.5117, allocations: 39.45 kB / 0.7404 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.5118, allocations: 61.61 kB / 0.7404 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5119, allocations: 358.8 kB / 0.7408 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.5125, allocations: 192.3 kB / 0.741 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.5131, allocations: 282 kB / 0.7412 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.5142, allocations: 420.2 kB / 0.7416 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5142, allocations: 0 / 0.7416 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002532/0.5168, allocations: 0.7369 MB / 0.7424 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5168, allocations: 4 kB / 0.7424 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5168, allocations: 4 kB / 0.7424 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/0.5174, allocations: 188.8 kB / 0.7425 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.5177, allocations: 67.89 kB / 0.7426 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.5211, allocations: 2.086 MB / 0.7446 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.5216, allocations: 83.48 kB / 0.7447 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.5217, allocations: 12.17 kB / 0.7447 GB, free: 4.891 MB / 0.5606 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.000199/0.5219, allocations: 195.3 kB / 0.7449 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.522, allocations: 47.44 kB / 0.745 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/0.5221, allocations: 60.03 kB / 0.745 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5221, allocations: 0 / 0.745 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5221, allocations: 3.938 kB / 0.745 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5221, allocations: 0 / 0.745 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.5249, allocations: 1.141 MB / 0.7461 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5249, allocations: 8.062 kB / 0.7461 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.5251, allocations: 39.89 kB / 0.7462 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.5256, allocations: 184.7 kB / 0.7464 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5257, allocations: 4 kB / 0.7464 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.5287, allocations: 2.045 MB / 0.7484 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5287, allocations: 0 / 0.7484 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.531, allocations: 0.7108 MB / 0.7491 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.5312, allocations: 168.5 kB / 0.7492 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.5313, allocations: 4 kB / 0.7492 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.5319, allocations: 55.92 kB / 0.7493 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.5319, allocations: 15.98 kB / 0.7493 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.532, allocations: 11.98 kB / 0.7493 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003925/0.5324, allocations: 394.8 kB / 0.7497 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5324, allocations: 0 / 0.7497 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005501/0.5329, allocations: 183.8 kB / 0.7499 GB, free: 15.39 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.002818/0.5358, allocations: 1.329 MB / 0.7512 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.5372, allocations: 0.5258 MB / 0.7517 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5372, allocations: 96 / 0.7517 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.5378, allocations: 314.8 kB / 0.752 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5391, allocations: 296 kB / 0.7522 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5495, allocations: 5.326 MB / 0.7574 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.5499, allocations: 0.8621 MB / 0.7583 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003872/0.5503, allocations: 104.5 kB / 0.7584 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5505, allocations: 163.4 kB / 0.7585 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.5505, allocations: 0 / 0.7585 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.5792, allocations: 16.07 MB / 0.7742 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.5794, allocations: 298.9 kB / 0.7745 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.418, allocations: 3.625 kB / 0.7745 GB, free: 6.18 MB / 0.5919 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)