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.00112/0.00112, allocations: 102.4 kB / 16.27 MB, free: 5.918 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.001689/0.001689, allocations: 185.1 kB / 17.19 MB, free: 5.559 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7137/0.7137, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 77.91 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1762/0.4995, allocations: 171 MB / 0.7342 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006813/0.5064, allocations: 4.292 MB / 0.7384 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.5071, allocations: 23.88 kB / 0.7385 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5082, allocations: 350 kB / 0.7388 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.5111, allocations: 0.9954 MB / 0.7398 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.5135, allocations: 0.8054 MB / 0.7405 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.5156, allocations: 1.292 MB / 0.7418 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008226/0.5165, allocations: 491.2 kB / 0.7423 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.518, allocations: 0.6655 MB / 0.7429 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.5192, allocations: 453.5 kB / 0.7434 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.5194, allocations: 52 kB / 0.7434 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.5213, allocations: 0.9121 MB / 0.7443 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.5216, allocations: 215.4 kB / 0.7445 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000492/0.5221, allocations: 334.5 kB / 0.7448 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.5239, allocations: 1.122 MB / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5239, allocations: 0 / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5239, allocations: 0 / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.455e-05/0.5239, allocations: 0 / 0.7459 GB, free: 3.273 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.001914/0.5259, allocations: 0.9466 MB / 0.7468 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5259, allocations: 12.62 kB / 0.7469 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.526, allocations: 94.44 kB / 0.7469 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.5277, allocations: 255.1 kB / 0.7472 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.5286, allocations: 485.4 kB / 0.7477 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.529, allocations: 92.88 kB / 0.7477 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.5291, allocations: 43.94 kB / 0.7478 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5303, allocations: 0.6185 MB / 0.7484 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5304, allocations: 0 / 0.7484 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.5304, allocations: 20 kB / 0.7484 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.5305, allocations: 28.92 kB / 0.7484 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.532, allocations: 0.5542 MB / 0.749 GB, free: 16 kB / 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.2432/0.7752, allocations: 2.274 MB / 0.7512 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.7764, allocations: 292.1 kB / 0.7515 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.777, allocations: 173.6 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.7771, allocations: 6.203 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7771, allocations: 37.72 kB / 0.7517 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.7771, allocations: 1.719 kB / 0.7517 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.006199/0.7833, allocations: 1.108 MB / 0.7528 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.7834, allocations: 83.11 kB / 0.7528 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.7841, allocations: 0.5504 MB / 0.7534 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.7842, allocations: 28.17 kB / 0.7534 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.7844, allocations: 299.2 kB / 0.7537 GB, free: 171 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.7845, allocations: 48.48 kB / 0.7537 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.7846, allocations: 61.92 kB / 0.7538 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.7847, allocations: 352.2 kB / 0.7541 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.7854, allocations: 194.5 kB / 0.7543 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.7861, allocations: 275.7 kB / 0.7546 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.7875, allocations: 424.3 kB / 0.755 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7875, allocations: 0 / 0.755 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002963/0.7905, allocations: 0.7328 MB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.7905, allocations: 10.33 kB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.7905, allocations: 2.25 kB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.7913, allocations: 182 kB / 0.7559 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.7917, allocations: 74.53 kB / 0.756 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.7957, allocations: 2.234 MB / 0.7581 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.7964, allocations: 77.8 kB / 0.7582 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.7965, allocations: 14.36 kB / 0.7582 GB, free: 168.3 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.0002475/0.7967, allocations: 189.9 kB / 0.7584 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7969, allocations: 49.77 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.629e-05/0.797, allocations: 55.62 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.797, allocations: 8.391 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.797, allocations: 0 / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.797, allocations: 0.7031 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.8001, allocations: 1.144 MB / 0.7596 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8001, allocations: 5.938 kB / 0.7596 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.8004, allocations: 40.44 kB / 0.7597 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/0.8009, allocations: 183.7 kB / 0.7599 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.801, allocations: 3.547 kB / 0.7599 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.8043, allocations: 2.183 MB / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8043, allocations: 5.406 kB / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.8068, allocations: 0.7219 MB / 0.7627 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.807, allocations: 165.9 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.8071, allocations: 10.03 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.8077, allocations: 50.38 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.8078, allocations: 20.94 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.8078, allocations: 11.78 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004298/0.8082, allocations: 392 kB / 0.7633 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8083, allocations: 0 / 0.7633 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000623/0.8089, allocations: 186.2 kB / 0.7635 GB, free: 165.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.002902/0.8118, allocations: 1.323 MB / 0.7648 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.8134, allocations: 0.5459 MB / 0.7653 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8134, allocations: 1.531 kB / 0.7653 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.8141, allocations: 307.9 kB / 0.7656 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.8154, allocations: 307.1 kB / 0.7659 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.8264, allocations: 5.172 MB / 0.771 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.8267, allocations: 0.8618 MB / 0.7718 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.8272, allocations: 105.8 kB / 0.7719 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.8274, allocations: 160.4 kB / 0.7721 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.8274, allocations: 0 / 0.7721 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.8685, allocations: 16.75 MB / 0.7884 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.57, allocations: 3.156 kB / 0.7884 GB, free: 147.6 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)