Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001593/0.001593, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002651/0.00265, allocations: 178.3 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.533/2.533, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.123/1.123, allocations: 113.7 MB / 405.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005122, allocations: 8.594 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.29, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9013/1.191, allocations: 158.2 MB / 0.7112 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01912/1.211, allocations: 5.631 MB / 0.7167 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/1.213, allocations: 35.75 kB / 0.7168 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/1.217, allocations: 0.556 MB / 0.7173 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/1.228, allocations: 1.66 MB / 0.7189 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006096/1.234, allocations: 1.192 MB / 0.7201 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003799/1.238, allocations: 1.5 MB / 0.7216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/1.24, allocations: 0.7415 MB / 0.7223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.242, allocations: 0.7592 MB / 0.723 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/1.243, allocations: 0.537 MB / 0.7236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/1.243, allocations: 44 kB / 0.7236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/1.246, allocations: 0.9086 MB / 0.7245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007315/1.247, allocations: 403 kB / 0.7249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006369/1.247, allocations: 253.1 kB / 0.7251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/1.251, allocations: 1.486 MB / 0.7266 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.251, allocations: 0 / 0.7266 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.889e-06/1.251, allocations: 0 / 0.7266 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.903e-05/1.251, allocations: 0 / 0.7266 GB, free: 12.16 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00392/1.255, allocations: 1.302 MB / 0.7278 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.073e-05/1.255, allocations: 8.031 kB / 0.7278 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004447/1.255, allocations: 139.3 kB / 0.728 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/1.261, allocations: 0.4942 MB / 0.7285 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/1.264, allocations: 0.7857 MB / 0.7292 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/1.264, allocations: 137.8 kB / 0.7294 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/1.264, allocations: 91.91 kB / 0.7294 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/1.267, allocations: 1.179 MB / 0.7306 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/1.267, allocations: 0 / 0.7306 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.267, allocations: 40 kB / 0.7306 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/1.267, allocations: 41.97 kB / 0.7307 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/1.27, allocations: 1.105 MB / 0.7317 GB, free: 6.727 MB / 0.545 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.01111/1.281, allocations: 4.374 MB / 0.736 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/1.285, allocations: 0.7834 MB / 0.7368 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.285, allocations: 15.98 kB / 0.7368 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/1.285, allocations: 42.56 kB / 0.7368 GB, free: 1.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 3.937e-06/1.285, allocations: 3.938 kB / 0.7368 GB, free: 1.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.01058/1.296, allocations: 2.282 MB / 0.7391 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.296, allocations: 55.41 kB / 0.7391 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.297, allocations: 0.853 MB / 0.74 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/1.297, allocations: 37.7 kB / 0.74 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/1.298, allocations: 0.4914 MB / 0.7405 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.298, allocations: 161.7 kB / 0.7406 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/1.298, allocations: 12 kB / 0.7406 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.298, allocations: 329.9 kB / 0.741 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.299, allocations: 393 kB / 0.7413 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.3, allocations: 0.5169 MB / 0.7418 GB, free: 11.97 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007099/1.308, allocations: 1.557 MB / 0.7434 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.308, allocations: 4 kB / 0.7434 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004387/1.312, allocations: 1.029 MB / 0.7444 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.312, allocations: 8 kB / 0.7444 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.312, allocations: 4 kB / 0.7444 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/1.312, allocations: 8.875 kB / 0.7444 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.313, allocations: 207.8 kB / 0.7446 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/1.313, allocations: 19.88 kB / 0.7446 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.315, allocations: 115.7 kB / 0.7447 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/1.315, allocations: 27.98 kB / 0.7447 GB, free: 8.98 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008354/1.316, allocations: 315.6 kB / 0.745 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/1.317, allocations: 94.88 kB / 0.7451 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/1.317, allocations: 104.8 kB / 0.7452 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.317, allocations: 8 kB / 0.7452 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.317, allocations: 0 / 0.7452 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003051/1.32, allocations: 1.071 MB / 0.7463 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/1.329, allocations: 2.199 MB / 0.7484 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.329, allocations: 4 kB / 0.7484 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.331, allocations: 192.1 kB / 0.7486 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/1.331, allocations: 4 kB / 0.7486 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/1.331, allocations: 15.98 kB / 0.7486 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/1.331, allocations: 8 kB / 0.7486 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.331, allocations: 0 / 0.7486 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006468/1.337, allocations: 1.634 MB / 0.7502 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.339, allocations: 255.9 kB / 0.7505 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/1.339, allocations: 16 kB / 0.7505 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.341, allocations: 113.6 kB / 0.7506 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.341, allocations: 35.86 kB / 0.7506 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.341, allocations: 31.97 kB / 0.7507 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001588/1.343, allocations: 0.5966 MB / 0.7513 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.343, allocations: 0 / 0.7513 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002156/1.345, allocations: 268 kB / 0.7515 GB, free: 1.703 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007182/1.352, allocations: 3.197 MB / 0.7546 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002986/1.355, allocations: 0.8508 MB / 0.7555 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.355, allocations: 3.938 kB / 0.7555 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.356, allocations: 413.1 kB / 0.7559 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.36, allocations: 0.5536 MB / 0.7564 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.382, allocations: 8.806 MB / 0.765 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.383, allocations: 1.13 MB / 0.7661 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00207/1.385, allocations: 259.8 kB / 0.7664 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/1.386, allocations: 355.3 kB / 0.7667 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of SimCode: time 1.472e-06/1.386, allocations: 0 / 0.7667 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/1.49, allocations: 28.1 MB / 0.7941 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004386/1.49, allocations: 286.4 kB / 0.7944 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/5.671, allocations: 2.656 kB / 0.7944 GB, free: 5.793 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: