Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 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.001257/0.001257, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 294.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9045/0.9045, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 95.03 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4552/0.5887, allocations: 221.1 MB / 0.8962 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00802/0.5968, allocations: 5.721 MB / 0.9018 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.5978, allocations: 40.88 kB / 0.9018 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.5991, allocations: 0.5775 MB / 0.9024 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.6022, allocations: 1.627 MB / 0.904 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.605, allocations: 1.207 MB / 0.9051 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.6077, allocations: 2.576 MB / 0.9077 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.6091, allocations: 0.8954 MB / 0.9085 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.611, allocations: 1.058 MB / 0.9096 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.6129, allocations: 0.839 MB / 0.9104 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.6131, allocations: 99.94 kB / 0.9105 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.6159, allocations: 1.543 MB / 0.912 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.6163, allocations: 398.9 kB / 0.9124 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007991/0.6171, allocations: 0.5911 MB / 0.9129 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.6199, allocations: 2.002 MB / 0.9149 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6199, allocations: 0 / 0.9149 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6199, allocations: 0 / 0.9149 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.306e-05/0.6199, allocations: 4 kB / 0.9149 GB, free: 6.902 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002267/0.6222, allocations: 1.423 MB / 0.9163 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6222, allocations: 12.03 kB / 0.9163 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.6224, allocations: 130.6 kB / 0.9164 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.625, allocations: 422.2 kB / 0.9168 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6263, allocations: 0.7648 MB / 0.9176 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.6266, allocations: 117.9 kB / 0.9177 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6267, allocations: 72 kB / 0.9178 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.6285, allocations: 0.9906 MB / 0.9187 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.6286, allocations: 11.94 kB / 0.9187 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.6287, allocations: 32 kB / 0.9188 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.6287, allocations: 29.94 kB / 0.9188 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.6307, allocations: 0.8939 MB / 0.9197 GB, free: 1.898 MB / 0.6231 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.005566/0.6363, allocations: 3.515 MB / 0.9231 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.638, allocations: 0.6131 MB / 0.9237 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.6388, allocations: 354.4 kB / 0.924 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.639, allocations: 101 kB / 0.9241 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.639, allocations: 38.56 kB / 0.9242 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.324e-06/0.639, allocations: 0 / 0.9242 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.005019/0.6441, allocations: 1.925 MB / 0.926 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.6441, allocations: 55.41 kB / 0.9261 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.645, allocations: 0.7706 MB / 0.9269 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.645, allocations: 37.7 kB / 0.9269 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.6454, allocations: 463.4 kB / 0.9273 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6455, allocations: 141.9 kB / 0.9275 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.6457, allocations: 110.2 kB / 0.9276 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6458, allocations: 333.9 kB / 0.9279 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.6466, allocations: 316.8 kB / 0.9282 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000877/0.6475, allocations: 447.5 kB / 0.9286 GB, free: 8.363 MB / 0.6387 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.005364/0.6529, allocations: 1.959 MB / 0.9305 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6529, allocations: 0 / 0.9305 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001957/0.6549, allocations: 0.8542 MB / 0.9314 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6549, allocations: 8 kB / 0.9314 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6549, allocations: 4 kB / 0.9314 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.6549, allocations: 4 kB / 0.9314 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.6558, allocations: 174 kB / 0.9315 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.6558, allocations: 8 kB / 0.9316 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/0.6567, allocations: 59.92 kB / 0.9316 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.6568, allocations: 27.98 kB / 0.9316 GB, free: 5.203 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 65 * 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.0003788/0.6572, allocations: 278.9 kB / 0.9319 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.6573, allocations: 86.97 kB / 0.932 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.6575, allocations: 100.1 kB / 0.9321 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6575, allocations: 4 kB / 0.9321 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6575, allocations: 0 / 0.9321 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/0.6592, allocations: 0.7037 MB / 0.9328 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.6631, allocations: 1.922 MB / 0.9347 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6631, allocations: 4 kB / 0.9347 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.6638, allocations: 148.2 kB / 0.9348 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.6639, allocations: 4 kB / 0.9348 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.6639, allocations: 19.98 kB / 0.9348 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6639, allocations: 4 kB / 0.9348 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6639, allocations: 8.688 kB / 0.9348 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.6665, allocations: 1.236 MB / 0.936 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.6669, allocations: 236 kB / 0.9363 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.667, allocations: 12 kB / 0.9363 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.6679, allocations: 67.39 kB / 0.9363 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.668, allocations: 39.83 kB / 0.9364 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.668, allocations: 29.11 kB / 0.9364 GB, free: 112 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006348/0.6687, allocations: 0.5419 MB / 0.9369 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6687, allocations: 0 / 0.9369 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007156/0.6694, allocations: 244 kB / 0.9372 GB, free: 15.33 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (41): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.003125/0.6725, allocations: 1.888 MB / 0.939 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.6744, allocations: 0.737 MB / 0.9397 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6744, allocations: 0.625 kB / 0.9397 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.6752, allocations: 340.3 kB / 0.9401 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.6776, allocations: 0.5285 MB / 0.9406 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.6902, allocations: 7.498 MB / 0.9479 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.6909, allocations: 1.04 MB / 0.9489 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008604/0.6917, allocations: 231 kB / 0.9491 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.6922, allocations: 319.3 kB / 0.9494 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/0.6922, allocations: 0 / 0.9494 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06963/0.7619, allocations: 25.45 MB / 0.9743 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/8.114, allocations: 4.828 kB / 0.9743 GB, free: 9.406 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)