Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_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.001172/0.001172, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001422/0.001422, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.994/1.994, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.575/2.575, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6567, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1333/0.79, allocations: 158.3 MB / 1.135 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007124/0.7972, allocations: 5.633 MB / 1.141 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000662/0.7979, allocations: 27.81 kB / 1.141 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.7991, allocations: 0.5676 MB / 1.141 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.8026, allocations: 1.663 MB / 1.143 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.8052, allocations: 1.192 MB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.8069, allocations: 1.486 MB / 1.146 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.8077, allocations: 0.7535 MB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.8088, allocations: 0.7513 MB / 1.147 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.8093, allocations: 0.5448 MB / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.8094, allocations: 40 kB / 1.148 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.811, allocations: 0.9087 MB / 1.149 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.8113, allocations: 403 kB / 1.149 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.8115, allocations: 249.1 kB / 1.149 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.8127, allocations: 1.489 MB / 1.151 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.8128, allocations: 0 / 1.151 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8128, allocations: 0 / 1.151 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8128, allocations: 4 kB / 1.151 GB, free: 7.953 MB / 0.9044 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.001806/0.8146, allocations: 1.282 MB / 1.152 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.8146, allocations: 15.95 kB / 1.152 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.8148, allocations: 147.2 kB / 1.152 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.8175, allocations: 0.4904 MB / 1.153 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.8188, allocations: 0.7896 MB / 1.153 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.8191, allocations: 129.9 kB / 1.154 GB, free: 5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8192, allocations: 87.95 kB / 1.154 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.8211, allocations: 1.19 MB / 1.155 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.8212, allocations: 0 / 1.155 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.8213, allocations: 40 kB / 1.155 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.8213, allocations: 37.98 kB / 1.155 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.8234, allocations: 1.105 MB / 1.156 GB, free: 2.523 MB / 0.9044 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.006031/0.8295, allocations: 4.378 MB / 1.16 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.8314, allocations: 0.7951 MB / 1.161 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.8314, allocations: 11.98 kB / 1.161 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.8315, allocations: 38.56 kB / 1.161 GB, free: 13.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.674e-06/0.8315, allocations: 0 / 1.161 GB, free: 13.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.00535/0.8368, allocations: 2.284 MB / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.8369, allocations: 59.34 kB / 1.163 GB, free: 10.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.8377, allocations: 0.8491 MB / 1.164 GB, free: 9.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.8378, allocations: 41.69 kB / 1.164 GB, free: 9.703 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8381, allocations: 499.2 kB / 1.165 GB, free: 9.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8382, allocations: 161.7 kB / 1.165 GB, free: 9.051 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.8383, allocations: 12 kB / 1.165 GB, free: 9.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.8383, allocations: 337.9 kB / 1.165 GB, free: 8.703 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.8392, allocations: 389 kB / 1.166 GB, free: 8.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/0.8402, allocations: 0.517 MB / 1.166 GB, free: 7.754 MB / 0.92 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.004003/0.8442, allocations: 1.56 MB / 1.168 GB, free: 6.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8442, allocations: 4 kB / 1.168 GB, free: 6.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002087/0.8463, allocations: 1.021 MB / 1.169 GB, free: 5.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8464, allocations: 9.875 kB / 1.169 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8464, allocations: 4 kB / 1.169 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8464, allocations: 12.12 kB / 1.169 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.8473, allocations: 215.7 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.8473, allocations: 7.938 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009804/0.8483, allocations: 119.6 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.8484, allocations: 23.98 kB / 1.169 GB, free: 4.762 MB / 0.92 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.0003922/0.8488, allocations: 321.5 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8489, allocations: 90.97 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.8491, allocations: 108.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8491, allocations: 4 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8491, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001814/0.8509, allocations: 1.069 MB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.8551, allocations: 2.199 MB / 1.173 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8551, allocations: 4 kB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/0.8559, allocations: 188.1 kB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.8559, allocations: 8 kB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.856, allocations: 15.94 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.856, allocations: 11.92 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.856, allocations: 4 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.8588, allocations: 1.638 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.8592, allocations: 255.9 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.8594, allocations: 16 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.8603, allocations: 103.8 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.8604, allocations: 39.84 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.8604, allocations: 31.97 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005919/0.861, allocations: 0.5888 MB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.861, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006898/0.8617, allocations: 272 kB / 1.176 GB, free: 13.47 MB / 0.9356 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.003483/0.8652, allocations: 3.186 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.8671, allocations: 0.8426 MB / 1.18 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8671, allocations: 0 / 1.18 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008872/0.868, allocations: 408.7 kB / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.8701, allocations: 0.5549 MB / 1.181 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.8807, allocations: 8.81 MB / 1.189 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.8812, allocations: 1.134 MB / 1.19 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007847/0.882, allocations: 259.8 kB / 1.191 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.8825, allocations: 355.3 kB / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8825, allocations: 0 / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.909/3.791, allocations: 28.11 MB / 1.218 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/3.791, allocations: 283.9 kB / 1.219 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/7.021, allocations: 2.5 kB / 1.219 GB, free: 1.555 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat