Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008918/0.0008918, allocations: 168.7 kB / 15.95 MB, free: 204 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.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 283 kB / 291.4 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 17.16 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4288/0.5702, allocations: 165.3 MB / 0.8459 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.5777, allocations: 5.047 MB / 0.8509 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009197/0.5786, allocations: 28.34 kB / 0.8509 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.5795, allocations: 300 kB / 0.8512 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.583, allocations: 1.22 MB / 0.8524 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.5846, allocations: 0.5695 MB / 0.8529 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.5874, allocations: 2.527 MB / 0.8554 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.5882, allocations: 0.5063 MB / 0.8559 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.5892, allocations: 0.6172 MB / 0.8565 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009034/0.5901, allocations: 0.6333 MB / 0.8571 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.5902, allocations: 24.62 kB / 0.8571 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.592, allocations: 0.6876 MB / 0.8578 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.5923, allocations: 266.8 kB / 0.8581 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.5925, allocations: 182.1 kB / 0.8582 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.5938, allocations: 1.13 MB / 0.8593 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5938, allocations: 0 / 0.8593 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5938, allocations: 0 / 0.8593 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.5938, allocations: 0 / 0.8593 GB, free: 8.227 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001452/0.5953, allocations: 1.033 MB / 0.8603 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5953, allocations: 10.84 kB / 0.8604 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.597, allocations: 267.3 kB / 0.8606 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.598, allocations: 0.662 MB / 0.8613 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.5981, allocations: 45.94 kB / 0.8613 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.5981, allocations: 57.81 kB / 0.8614 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.5991, allocations: 0.5733 MB / 0.8619 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.5992, allocations: 4 kB / 0.8619 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/0.5992, allocations: 23.81 kB / 0.8619 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.5993, allocations: 20.72 kB / 0.862 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.6001, allocations: 0.4986 MB / 0.8625 GB, free: 6.102 MB / 0.5762 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.002928/0.603, allocations: 2.395 MB / 0.8648 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.6038, allocations: 427.9 kB / 0.8652 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.6041, allocations: 222.2 kB / 0.8654 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.6043, allocations: 99.03 kB / 0.8655 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6044, allocations: 40.47 kB / 0.8655 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.6044, allocations: 0 / 0.8655 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.002704/0.6071, allocations: 1.443 MB / 0.867 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6071, allocations: 54.31 kB / 0.867 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.6077, allocations: 0.5347 MB / 0.8675 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.6078, allocations: 36.89 kB / 0.8676 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.608, allocations: 326.8 kB / 0.8679 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6082, allocations: 171.3 kB / 0.868 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.6082, allocations: 8 kB / 0.868 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6084, allocations: 375.4 kB / 0.8684 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.6086, allocations: 171 kB / 0.8686 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.609, allocations: 253.2 kB / 0.8688 GB, free: 1.211 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.6115, allocations: 1.049 MB / 0.8698 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6116, allocations: 5.75 kB / 0.8698 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008212/0.6124, allocations: 0.5249 MB / 0.8703 GB, free: 308 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6124, allocations: 5.125 kB / 0.8704 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6124, allocations: 6.797 kB / 0.8704 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6124, allocations: 2.906 kB / 0.8704 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.6128, allocations: 100 kB / 0.8705 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6129, allocations: 2.812 kB / 0.8705 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.6135, allocations: 50.62 kB / 0.8705 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.6135, allocations: 15.34 kB / 0.8705 GB, free: 248 kB / 0.5762 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003098/0.6138, allocations: 250.8 kB / 0.8708 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.6139, allocations: 70.62 kB / 0.8708 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.6141, allocations: 75.27 kB / 0.8709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6141, allocations: 9.203 kB / 0.8709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6141, allocations: 2.688 kB / 0.8709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000659/0.6148, allocations: 0.5144 MB / 0.8714 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.617, allocations: 1.573 MB / 0.873 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.617, allocations: 8.641 kB / 0.873 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.6175, allocations: 115.5 kB / 0.8731 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6175, allocations: 9.75 kB / 0.8731 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6175, allocations: 19.34 kB / 0.8731 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.46e-05/0.6176, allocations: 15.47 kB / 0.8731 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6176, allocations: 7.656 kB / 0.8731 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.6187, allocations: 0.9014 MB / 0.874 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.619, allocations: 196.2 kB / 0.8742 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.6191, allocations: 20 kB / 0.8742 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.6196, allocations: 44.56 kB / 0.8742 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.6197, allocations: 47.84 kB / 0.8743 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.6197, allocations: 20 kB / 0.8743 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004318/0.6202, allocations: 398.8 kB / 0.8747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6202, allocations: 0 / 0.8747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006598/0.6208, allocations: 192 kB / 0.8749 GB, free: 12.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * Single equations (assignments): 49 * 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.0003753/0.6212, allocations: 197.6 kB / 0.8751 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007392/0.622, allocations: 445.2 kB / 0.8755 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.622, allocations: 4 kB / 0.8755 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.6223, allocations: 225 kB / 0.8757 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.6243, allocations: 475.9 kB / 0.8762 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.6267, allocations: 1.885 MB / 0.878 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.6272, allocations: 0.9775 MB / 0.879 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006312/0.6279, allocations: 165.8 kB / 0.8791 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.628, allocations: 55.44 kB / 0.8792 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.628, allocations: 0 / 0.8792 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.02149/0.6495, allocations: 13.65 MB / 0.8925 GB, free: 10.72 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)