Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.0009812/0.0009811, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005776/0.005776, allocations: 171.5 kB / 16.27 MB, free: 6.648 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.8905/0.8905, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 83.41 MB / 0.598 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3729/0.498, allocations: 185.7 MB / 0.7793 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007098/0.5051, allocations: 5.708 MB / 0.7848 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.5056, allocations: 31.81 kB / 0.7849 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/0.5066, allocations: 0.4896 MB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.5092, allocations: 1.517 MB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.5111, allocations: 1.085 MB / 0.7879 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.5138, allocations: 3.475 MB / 0.7913 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/0.5146, allocations: 0.8222 MB / 0.7921 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.5157, allocations: 0.8595 MB / 0.7929 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.517, allocations: 0.8134 MB / 0.7937 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.5171, allocations: 40 kB / 0.7938 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.5192, allocations: 1.703 MB / 0.7954 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.5195, allocations: 426.7 kB / 0.7958 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.52, allocations: 0.5692 MB / 0.7964 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.5218, allocations: 2.173 MB / 0.7985 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5218, allocations: 4 kB / 0.7985 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5218, allocations: 0 / 0.7985 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5218, allocations: 0 / 0.7985 GB, free: 14.52 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001603/0.5234, allocations: 1.25 MB / 0.7997 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5235, allocations: 8.031 kB / 0.7997 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.5236, allocations: 143.2 kB / 0.7999 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.5254, allocations: 346.2 kB / 0.8002 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.5263, allocations: 0.7649 MB / 0.8009 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.5267, allocations: 133.9 kB / 0.8011 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5268, allocations: 87.94 kB / 0.8012 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5283, allocations: 1.07 MB / 0.8022 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.5284, allocations: 7.938 kB / 0.8022 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.5284, allocations: 43.92 kB / 0.8023 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.5285, allocations: 37.98 kB / 0.8023 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.5299, allocations: 0.8431 MB / 0.8031 GB, free: 9.672 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.004361/0.5342, allocations: 4.069 MB / 0.8071 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.5348, allocations: 371.8 kB / 0.8074 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.535, allocations: 209.3 kB / 0.8076 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.5352, allocations: 105 kB / 0.8077 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.5352, allocations: 38.56 kB / 0.8078 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.5352, allocations: 4 kB / 0.8078 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002011/0.5372, allocations: 1.326 MB / 0.8091 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.5373, allocations: 55.41 kB / 0.8091 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.5384, allocations: 0.9999 MB / 0.8101 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.5385, allocations: 33.7 kB / 0.8101 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.5388, allocations: 0.4914 MB / 0.8106 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.5389, allocations: 138 kB / 0.8107 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.539, allocations: 57.69 kB / 0.8108 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.5391, allocations: 326 kB / 0.8111 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.5395, allocations: 241.2 kB / 0.8113 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.5401, allocations: 405.2 kB / 0.8117 GB, free: 376 kB / 0.6231 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.002209/0.5423, allocations: 1.198 MB / 0.8129 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5423, allocations: 7.938 kB / 0.8129 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001209/0.5435, allocations: 0.7698 MB / 0.8137 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.5435, allocations: 4 kB / 0.8137 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5435, allocations: 8 kB / 0.8137 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5436, allocations: 8 kB / 0.8137 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.5441, allocations: 139.8 kB / 0.8138 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5441, allocations: 16.42 kB / 0.8138 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.545, allocations: 99.8 kB / 0.8139 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.545, allocations: 24 kB / 0.8139 GB, free: 14.01 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 sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0003254/0.5453, allocations: 313.5 kB / 0.8142 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5455, allocations: 98.81 kB / 0.8143 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.5456, allocations: 105 kB / 0.8144 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5457, allocations: 4 kB / 0.8144 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5457, allocations: 0 / 0.8144 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005685/0.5462, allocations: 0.681 MB / 0.8151 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.5482, allocations: 1.587 MB / 0.8167 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.5482, allocations: 4 kB / 0.8167 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.5486, allocations: 87.89 kB / 0.8167 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.5486, allocations: 7.938 kB / 0.8168 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.5486, allocations: 16.44 kB / 0.8168 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.5486, allocations: 15.98 kB / 0.8168 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5486, allocations: 4 kB / 0.8168 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/0.5495, allocations: 0.8385 MB / 0.8176 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.5498, allocations: 231.9 kB / 0.8178 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5499, allocations: 12 kB / 0.8178 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.5505, allocations: 67.36 kB / 0.8179 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.5506, allocations: 35.89 kB / 0.8179 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.5507, allocations: 27.92 kB / 0.818 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000864/0.5515, allocations: 0.7152 MB / 0.8187 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5515, allocations: 0 / 0.8187 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006478/0.5522, allocations: 260 kB / 0.8189 GB, free: 8.637 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001343/0.5535, allocations: 1.468 MB / 0.8203 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007754/0.5543, allocations: 499.5 kB / 0.8208 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5543, allocations: 7.938 kB / 0.8208 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.5546, allocations: 192.8 kB / 0.821 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.5575, allocations: 0.6091 MB / 0.8216 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.5671, allocations: 8.301 MB / 0.8297 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.5677, allocations: 1.095 MB / 0.8308 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007059/0.5684, allocations: 237 kB / 0.831 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.5688, allocations: 351.3 kB / 0.8313 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5688, allocations: 0 / 0.8313 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.848/2.417, allocations: 27 MB / 0.8577 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/2.417, allocations: 277.9 kB / 0.858 GB, free: 484 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/4.728, allocations: 7.312 kB / 0.858 GB, free: 480 kB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)