Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.004491/0.004491, allocations: 101 kB / 15.73 MB, free: 6.059 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.00121/0.00121, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002361/0.002361, allocations: 289.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 108.2 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3552, allocations: 89.11 MB / 0.7814 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2048/0.56, allocations: 190.5 MB / 0.9674 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009013/0.569, allocations: 5.704 MB / 0.9729 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.5698, allocations: 39.81 kB / 0.973 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.5712, allocations: 0.5708 MB / 0.9735 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.5746, allocations: 1.614 MB / 0.9751 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.5774, allocations: 1.214 MB / 0.9763 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.5804, allocations: 2.557 MB / 0.9788 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.5816, allocations: 1.04 MB / 0.9798 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.5832, allocations: 1.043 MB / 0.9808 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.5848, allocations: 0.8537 MB / 0.9817 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.585, allocations: 112 kB / 0.9818 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.5876, allocations: 1.555 MB / 0.9833 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.5881, allocations: 0.4948 MB / 0.9838 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006779/0.5888, allocations: 0.6416 MB / 0.9844 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.5915, allocations: 2.184 MB / 0.9865 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5915, allocations: 0 / 0.9865 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5916, allocations: 3.938 kB / 0.9865 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.5916, allocations: 0 / 0.9865 GB, free: 6.055 MB / 0.7481 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.002403/0.594, allocations: 1.559 MB / 0.9881 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.594, allocations: 12.03 kB / 0.9881 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.5942, allocations: 143.2 kB / 0.9882 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/0.5971, allocations: 474.7 kB / 0.9887 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.5986, allocations: 0.856 MB / 0.9895 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.5986, allocations: 69.98 kB / 0.9896 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.5988, allocations: 87.95 kB / 0.9896 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.601, allocations: 1.179 MB / 0.9908 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.601, allocations: 0 / 0.9908 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.6011, allocations: 39.98 kB / 0.9908 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.6012, allocations: 41.94 kB / 0.9909 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.6036, allocations: 1.066 MB / 0.9919 GB, free: 432 kB / 0.7481 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.2837/0.8873, allocations: 4.315 MB / 0.9961 GB, free: 201.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.8893, allocations: 0.7428 MB / 0.9969 GB, free: 201 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.8902, allocations: 403.5 kB / 0.9972 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.8904, allocations: 102.6 kB / 0.9973 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8904, allocations: 39 kB / 0.9974 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/0.8904, allocations: 0 / 0.9974 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.00554/0.896, allocations: 2.203 MB / 0.9995 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.896, allocations: 55.69 kB / 0.9996 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.8971, allocations: 0.864 MB / 1 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.8971, allocations: 41.09 kB / 1 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.8974, allocations: 0.4899 MB / 1.001 GB, free: 199 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.8975, allocations: 167.8 kB / 1.001 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.8977, allocations: 125.9 kB / 1.001 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.8978, allocations: 331.7 kB / 1.002 GB, free: 198.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000921/0.8987, allocations: 371.9 kB / 1.002 GB, free: 198.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.8997, allocations: 0.4979 MB / 1.002 GB, free: 198.2 MB / 0.7481 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.006255/0.9059, allocations: 2.261 MB / 1.005 GB, free: 197.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9059, allocations: 1.062 kB / 1.005 GB, free: 197.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002228/0.9082, allocations: 0.9876 MB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.9082, allocations: 6.312 kB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9082, allocations: 3.719 kB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9083, allocations: 7.531 kB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.9092, allocations: 197 kB / 1.006 GB, free: 196.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.9092, allocations: 11.53 kB / 1.006 GB, free: 196.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.9101, allocations: 67.34 kB / 1.006 GB, free: 196.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.9101, allocations: 26.59 kB / 1.006 GB, free: 196.6 MB / 0.7481 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.9105, allocations: 313 kB / 1.006 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.9106, allocations: 100 kB / 1.006 GB, free: 196.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.9108, allocations: 107.7 kB / 1.006 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.9108, allocations: 12.14 kB / 1.006 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9109, allocations: 2.281 kB / 1.006 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.9126, allocations: 1.02 MB / 1.007 GB, free: 195.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.9165, allocations: 2.149 MB / 1.009 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9166, allocations: 3.656 kB / 1.009 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.9174, allocations: 170.1 kB / 1.01 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.9174, allocations: 5.5 kB / 1.01 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.9174, allocations: 15.66 kB / 1.01 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.9175, allocations: 12.45 kB / 1.01 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9175, allocations: 8.125 kB / 1.01 GB, free: 194 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.9202, allocations: 1.416 MB / 1.011 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.9205, allocations: 260 kB / 1.011 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.9206, allocations: 15.73 kB / 1.011 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.9215, allocations: 64.69 kB / 1.011 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.9216, allocations: 48.02 kB / 1.011 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.9216, allocations: 27.48 kB / 1.011 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006218/0.9223, allocations: 0.6059 MB / 1.012 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9223, allocations: 0 / 1.012 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007513/0.923, allocations: 268.4 kB / 1.012 GB, free: 192.5 MB / 0.7481 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 (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.003178/0.9262, allocations: 2.068 MB / 1.014 GB, free: 191.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.9281, allocations: 0.8182 MB / 1.015 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9281, allocations: 3.969 kB / 1.015 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.929, allocations: 385.2 kB / 1.015 GB, free: 190.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.9313, allocations: 0.5794 MB / 1.016 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.9431, allocations: 8.213 MB / 1.024 GB, free: 185.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.9436, allocations: 1.118 MB / 1.025 GB, free: 184.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007306/0.9443, allocations: 253.4 kB / 1.025 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.9447, allocations: 350.7 kB / 1.026 GB, free: 183.9 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.9447, allocations: 0 / 1.026 GB, free: 183.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/0.9904, allocations: 28.74 MB / 1.054 GB, free: 156.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/10.14, allocations: 0.875 kB / 1.054 GB, free: 156.9 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)