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.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 152 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.001092/0.001092, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 275 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8711/0.8711, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 101.6 kB / 0.5953 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1291, allocations: 86.97 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4028/0.5319, allocations: 190.5 MB / 0.8663 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00705/0.539, allocations: 5.7 MB / 0.8718 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.5395, allocations: 41.31 kB / 0.8719 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.5405, allocations: 0.5658 MB / 0.8724 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.5432, allocations: 1.614 MB / 0.874 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5453, allocations: 1.214 MB / 0.8752 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.5471, allocations: 2.555 MB / 0.8777 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.548, allocations: 1.036 MB / 0.8787 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.5491, allocations: 1.044 MB / 0.8797 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5503, allocations: 0.8453 MB / 0.8805 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.5504, allocations: 110.1 kB / 0.8807 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.5524, allocations: 1.548 MB / 0.8822 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.5527, allocations: 0.4991 MB / 0.8826 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004995/0.5532, allocations: 0.6439 MB / 0.8833 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.555, allocations: 2.164 MB / 0.8854 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5551, allocations: 0 / 0.8854 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5551, allocations: 0 / 0.8854 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5551, allocations: 0 / 0.8854 GB, free: 2.629 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.001863/0.5569, allocations: 1.511 MB / 0.8869 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.557, allocations: 14.36 kB / 0.8869 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.5571, allocations: 146.3 kB / 0.887 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.5597, allocations: 470.1 kB / 0.8875 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.5609, allocations: 0.8156 MB / 0.8883 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.5612, allocations: 117.6 kB / 0.8884 GB, free: 492 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5613, allocations: 85.5 kB / 0.8885 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.5631, allocations: 1.195 MB / 0.8896 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.5632, allocations: 0 / 0.8896 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.5633, allocations: 38.16 kB / 0.8897 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.5633, allocations: 42.45 kB / 0.8897 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.5654, allocations: 1.078 MB / 0.8908 GB, free: 15.2 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.005714/0.5711, allocations: 4.375 MB / 0.895 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.573, allocations: 0.758 MB / 0.8958 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.5738, allocations: 404.6 kB / 0.8962 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.574, allocations: 109 kB / 0.8963 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.574, allocations: 42.56 kB / 0.8963 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.574, allocations: 0 / 0.8963 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005194/0.5792, allocations: 2.21 MB / 0.8985 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5793, allocations: 55.41 kB / 0.8985 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.5801, allocations: 0.8647 MB / 0.8994 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.5802, allocations: 37.7 kB / 0.8994 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.5805, allocations: 491.3 kB / 0.8999 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5806, allocations: 165.6 kB / 0.9 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.5808, allocations: 122.2 kB / 0.9001 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.5809, allocations: 330 kB / 0.9004 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009155/0.5818, allocations: 377 kB / 0.9008 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009655/0.5828, allocations: 0.5014 MB / 0.9013 GB, free: 4.523 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.005693/0.5885, allocations: 2.29 MB / 0.9035 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5885, allocations: 4 kB / 0.9035 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002099/0.5906, allocations: 0.9976 MB / 0.9045 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5906, allocations: 8 kB / 0.9045 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5906, allocations: 8.125 kB / 0.9045 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5906, allocations: 11.94 kB / 0.9045 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.5915, allocations: 191.7 kB / 0.9047 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5915, allocations: 7.938 kB / 0.9047 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/0.5924, allocations: 75.92 kB / 0.9048 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.5925, allocations: 22 kB / 0.9048 GB, free: 0.8398 MB / 0.6075 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.0003283/0.5928, allocations: 313.5 kB / 0.9051 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5929, allocations: 98.86 kB / 0.9052 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.5931, allocations: 104.8 kB / 0.9053 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5931, allocations: 7.938 kB / 0.9053 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5931, allocations: 0 / 0.9053 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001839/0.595, allocations: 1.03 MB / 0.9063 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.599, allocations: 2.152 MB / 0.9084 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.599, allocations: 4 kB / 0.9084 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.5998, allocations: 168.2 kB / 0.9086 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5998, allocations: 4 kB / 0.9086 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5998, allocations: 15.98 kB / 0.9086 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5998, allocations: 11.94 kB / 0.9086 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5999, allocations: 7.938 kB / 0.9086 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.6027, allocations: 1.43 MB / 0.91 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.603, allocations: 259.9 kB / 0.9103 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6031, allocations: 17.55 kB / 0.9103 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.604, allocations: 71.44 kB / 0.9104 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.604, allocations: 35.84 kB / 0.9104 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.6041, allocations: 31.97 kB / 0.9104 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00061/0.6047, allocations: 0.6044 MB / 0.911 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6047, allocations: 0 / 0.911 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006442/0.6054, allocations: 275.9 kB / 0.9113 GB, free: 9.957 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.003293/0.6087, allocations: 2.089 MB / 0.9133 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.6107, allocations: 0.8813 MB / 0.9142 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6107, allocations: 4.688 kB / 0.9142 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009062/0.6116, allocations: 396.3 kB / 0.9146 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.6138, allocations: 0.5818 MB / 0.9151 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.6263, allocations: 8.568 MB / 0.9235 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.6268, allocations: 1.114 MB / 0.9246 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000784/0.6276, allocations: 251.8 kB / 0.9248 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.6281, allocations: 355.3 kB / 0.9252 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.6281, allocations: 4 kB / 0.9252 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.487/6.115, allocations: 28.54 MB / 0.953 GB, free: 15.27 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/15.45, allocations: 5.5 kB / 0.953 GB, free: 15.27 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)