Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00153/0.00153, allocations: 101.4 kB / 15.7 MB, free: 28 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.001219/0.001219, allocations: 195.7 kB / 16.64 MB, free: 6.438 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.303/1.303, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9751/0.9751, allocations: 143 MB / 433.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.89 kB / 0.5144 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 82.04 MB / 0.5945 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4386/0.5907, allocations: 190.6 MB / 0.7806 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009211/0.6, allocations: 5.707 MB / 0.7862 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.6014, allocations: 39.75 kB / 0.7863 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.6031, allocations: 0.5669 MB / 0.7868 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.6073, allocations: 1.622 MB / 0.7884 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.6107, allocations: 1.204 MB / 0.7896 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.6156, allocations: 2.579 MB / 0.7921 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.6178, allocations: 1.031 MB / 0.7931 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.6211, allocations: 1.047 MB / 0.7941 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.6241, allocations: 0.8492 MB / 0.7949 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.6244, allocations: 108 kB / 0.795 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.628, allocations: 1.547 MB / 0.7966 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.6285, allocations: 0.4948 MB / 0.797 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.6293, allocations: 0.6494 MB / 0.7977 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.632, allocations: 2.24 MB / 0.7999 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.632, allocations: 0 / 0.7999 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.784e-06/0.632, allocations: 0 / 0.7999 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.632, allocations: 0 / 0.7999 GB, free: 10.69 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002362/0.6344, allocations: 1.523 MB / 0.8014 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6344, allocations: 8.031 kB / 0.8014 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.6346, allocations: 147.3 kB / 0.8015 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.6376, allocations: 478 kB / 0.802 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.6391, allocations: 0.8514 MB / 0.8028 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.6391, allocations: 62 kB / 0.8028 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.6393, allocations: 91.84 kB / 0.8029 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.6416, allocations: 1.175 MB / 0.8041 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6416, allocations: 0 / 0.8041 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.765e-05/0.6417, allocations: 40 kB / 0.8041 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.6418, allocations: 33.98 kB / 0.8042 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.644, allocations: 1.077 MB / 0.8052 GB, free: 5.102 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.006732/0.6508, allocations: 4.307 MB / 0.8094 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.6527, allocations: 0.7447 MB / 0.8101 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.6536, allocations: 402.9 kB / 0.8105 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6538, allocations: 101.1 kB / 0.8106 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6538, allocations: 50.45 kB / 0.8107 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.6538, allocations: 0 / 0.8107 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.005525/0.6594, allocations: 2.171 MB / 0.8128 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.6594, allocations: 59.34 kB / 0.8128 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6605, allocations: 0.8686 MB / 0.8137 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.6606, allocations: 37.64 kB / 0.8137 GB, free: 12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.661, allocations: 0.4913 MB / 0.8142 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6612, allocations: 161.8 kB / 0.8144 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.6614, allocations: 118.2 kB / 0.8145 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6616, allocations: 334 kB / 0.8148 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.6625, allocations: 365 kB / 0.8151 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6635, allocations: 0.509 MB / 0.8156 GB, free: 9.969 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.005848/0.6694, allocations: 2.25 MB / 0.8178 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.6694, allocations: 0 / 0.8178 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002254/0.6717, allocations: 0.982 MB / 0.8188 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.6717, allocations: 17.83 kB / 0.8188 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6717, allocations: 4 kB / 0.8188 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6718, allocations: 4 kB / 0.8188 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009295/0.6727, allocations: 195.6 kB / 0.819 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.6727, allocations: 16.55 kB / 0.819 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/0.6737, allocations: 64.48 kB / 0.8191 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.6738, allocations: 24 kB / 0.8191 GB, free: 6.348 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: 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.0004934/0.6743, allocations: 314.8 kB / 0.8194 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.6744, allocations: 98.86 kB / 0.8195 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.6747, allocations: 108.7 kB / 0.8196 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6747, allocations: 7.938 kB / 0.8196 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6747, allocations: 0 / 0.8196 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001904/0.6766, allocations: 1.025 MB / 0.8206 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/0.681, allocations: 2.133 MB / 0.8227 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6811, allocations: 4 kB / 0.8227 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/0.6819, allocations: 169.8 kB / 0.8229 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.682, allocations: 8 kB / 0.8229 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.682, allocations: 19.98 kB / 0.8229 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.682, allocations: 4 kB / 0.8229 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.682, allocations: 7.938 kB / 0.8229 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.685, allocations: 1.411 MB / 0.8243 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.6854, allocations: 251.9 kB / 0.8245 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6856, allocations: 19.98 kB / 0.8245 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.6865, allocations: 63.94 kB / 0.8246 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.6866, allocations: 47.83 kB / 0.8246 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.6866, allocations: 27.97 kB / 0.8247 GB, free: 384 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007571/0.6874, allocations: 0.6044 MB / 0.8253 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6874, allocations: 0 / 0.8253 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008665/0.6883, allocations: 272 kB / 0.8255 GB, free: 15.51 MB / 0.6544 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.003502/0.6918, allocations: 2.072 MB / 0.8275 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.6938, allocations: 0.815 MB / 0.8283 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6939, allocations: 0 / 0.8283 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.6948, allocations: 389 kB / 0.8287 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.6974, allocations: 0.5803 MB / 0.8293 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.7119, allocations: 8.188 MB / 0.8373 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.7127, allocations: 1.114 MB / 0.8384 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009867/0.7137, allocations: 251.8 kB / 0.8386 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.7142, allocations: 355.3 kB / 0.8389 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of SimCode: time 1.202e-06/0.7142, allocations: 3.938 kB / 0.8389 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3263/1.041, allocations: 28.56 MB / 0.8668 GB, free: 210.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.395/10.44, allocations: 14.06 kB / 0.8668 GB, free: 210.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)