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.0009429/0.0009428, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005496/0.005496, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.254/1.254, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 274.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8558/0.8558, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 13.5 kB / 0.5988 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4044/0.5299, allocations: 185.7 MB / 0.8666 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.5374, allocations: 5.716 MB / 0.8722 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/0.5379, allocations: 34.66 kB / 0.8722 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.539, allocations: 0.4915 MB / 0.8727 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.5417, allocations: 1.522 MB / 0.8742 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.5439, allocations: 1.077 MB / 0.8753 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.5467, allocations: 3.536 MB / 0.8787 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.5476, allocations: 0.8617 MB / 0.8795 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.5487, allocations: 0.8671 MB / 0.8804 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.5501, allocations: 0.8499 MB / 0.8812 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/0.5502, allocations: 43.41 kB / 0.8813 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.5524, allocations: 1.722 MB / 0.8829 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003725/0.5528, allocations: 438.6 kB / 0.8834 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.5533, allocations: 0.5809 MB / 0.8839 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.5553, allocations: 2.161 MB / 0.886 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.5553, allocations: 0 / 0.886 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5553, allocations: 0 / 0.886 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.5553, allocations: 0 / 0.886 GB, free: 2.07 MB / 0.5919 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.001814/0.5571, allocations: 1.298 MB / 0.8873 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5572, allocations: 8.031 kB / 0.8873 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.5574, allocations: 151.3 kB / 0.8875 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.5601, allocations: 494 kB / 0.8879 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5614, allocations: 0.8202 MB / 0.8887 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.5617, allocations: 129.9 kB / 0.8889 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5619, allocations: 87.94 kB / 0.8889 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.5639, allocations: 1.202 MB / 0.8901 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.564, allocations: 4 kB / 0.8901 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5641, allocations: 39.98 kB / 0.8902 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.5641, allocations: 37.98 kB / 0.8902 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.5664, allocations: 1.109 MB / 0.8913 GB, free: 12.58 MB / 0.6075 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.006207/0.5727, allocations: 4.39 MB / 0.8956 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.5746, allocations: 0.7891 MB / 0.8963 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/0.5755, allocations: 423.2 kB / 0.8967 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.5757, allocations: 105.1 kB / 0.8968 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.5757, allocations: 38.56 kB / 0.8969 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.5758, allocations: 4 kB / 0.8969 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005531/0.5813, allocations: 2.292 MB / 0.8991 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.5813, allocations: 59.41 kB / 0.8992 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009451/0.5823, allocations: 0.8647 MB / 0.9 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.5824, allocations: 37.7 kB / 0.9001 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.5827, allocations: 499.2 kB / 0.9005 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.5828, allocations: 161.7 kB / 0.9007 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.443e-05/0.5829, allocations: 53.69 kB / 0.9007 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.583, allocations: 330 kB / 0.9011 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009491/0.584, allocations: 397 kB / 0.9014 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.585, allocations: 0.5248 MB / 0.9019 GB, free: 1.211 MB / 0.6075 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.006021/0.5911, allocations: 2.38 MB / 0.9043 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5911, allocations: 0 / 0.9043 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002252/0.5933, allocations: 1.033 MB / 0.9053 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5934, allocations: 8 kB / 0.9053 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5934, allocations: 7.938 kB / 0.9053 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5934, allocations: 8.062 kB / 0.9053 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.5943, allocations: 211.7 kB / 0.9055 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5943, allocations: 11.94 kB / 0.9055 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.5954, allocations: 111.7 kB / 0.9056 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5954, allocations: 31.98 kB / 0.9056 GB, free: 13.34 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004023/0.5959, allocations: 321.5 kB / 0.906 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.596, allocations: 90.97 kB / 0.906 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.5962, allocations: 104.7 kB / 0.9061 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5962, allocations: 4 kB / 0.9061 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5962, allocations: 0 / 0.9061 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001997/0.5982, allocations: 1.069 MB / 0.9072 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.6026, allocations: 2.202 MB / 0.9093 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6026, allocations: 7.984 kB / 0.9093 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.6035, allocations: 180.2 kB / 0.9095 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6035, allocations: 8 kB / 0.9095 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6035, allocations: 23.92 kB / 0.9096 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.6035, allocations: 7.938 kB / 0.9096 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6035, allocations: 4 kB / 0.9096 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.6066, allocations: 1.48 MB / 0.911 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.6069, allocations: 256 kB / 0.9113 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.607, allocations: 16 kB / 0.9113 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/0.608, allocations: 111.8 kB / 0.9114 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.6081, allocations: 43.83 kB / 0.9114 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.6082, allocations: 31.97 kB / 0.9114 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006703/0.6088, allocations: 0.5966 MB / 0.912 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6088, allocations: 0 / 0.912 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007235/0.6096, allocations: 272 kB / 0.9123 GB, free: 6.262 MB / 0.6231 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.003557/0.6131, allocations: 2.141 MB / 0.9144 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.6151, allocations: 0.8462 MB / 0.9152 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6151, allocations: 4.75 kB / 0.9152 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.6161, allocations: 416.6 kB / 0.9156 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.6188, allocations: 0.5564 MB / 0.9161 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.6329, allocations: 9.073 MB / 0.925 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.6336, allocations: 1.118 MB / 0.9261 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.6344, allocations: 251.8 kB / 0.9263 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.6349, allocations: 351.3 kB / 0.9267 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6349, allocations: 0 / 0.9267 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.317/5.952, allocations: 27.41 MB / 0.9534 GB, free: 12.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005041/5.953, allocations: 314 kB / 0.9537 GB, free: 11.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/8.975, allocations: 0 / 0.9537 GB, free: 11.82 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)