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.001491/0.001492, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001613/0.001613, allocations: 187 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 297.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9912/0.9912, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 92.23 kB / 0.6821 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4892, allocations: 86.97 MB / 0.767 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1975/0.6867, allocations: 181.9 MB / 0.9446 GB, free: 424 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008794/0.6955, allocations: 5.365 MB / 0.9499 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.6967, allocations: 35.81 kB / 0.9499 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.698, allocations: 437.4 kB / 0.9503 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.7032, allocations: 1.684 MB / 0.952 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7055, allocations: 0.7979 MB / 0.9528 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.7089, allocations: 2.208 MB / 0.9549 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.7101, allocations: 0.6837 MB / 0.9556 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.7116, allocations: 0.7627 MB / 0.9563 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.7136, allocations: 0.6803 MB / 0.957 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.7138, allocations: 76 kB / 0.9571 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.7168, allocations: 1.399 MB / 0.9584 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.7172, allocations: 319.1 kB / 0.9587 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007874/0.718, allocations: 473.9 kB / 0.9592 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.7209, allocations: 1.667 MB / 0.9608 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.721, allocations: 4 kB / 0.9608 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.721, allocations: 0 / 0.9608 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.71e-05/0.721, allocations: 0 / 0.9608 GB, free: 15.82 MB / 0.7325 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.002247/0.7233, allocations: 1.191 MB / 0.962 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7233, allocations: 8.031 kB / 0.962 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.7252, allocations: 270.8 kB / 0.9622 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7266, allocations: 0.7138 MB / 0.9629 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.7267, allocations: 45.31 kB / 0.963 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7268, allocations: 60 kB / 0.963 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.7279, allocations: 0.5804 MB / 0.9636 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.728, allocations: 3.984 kB / 0.9636 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.728, allocations: 24 kB / 0.9636 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.7281, allocations: 21.25 kB / 0.9637 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.729, allocations: 0.5048 MB / 0.9641 GB, free: 12.3 MB / 0.7325 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.003549/0.7326, allocations: 2.384 MB / 0.9665 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.7334, allocations: 417.3 kB / 0.9669 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.7337, allocations: 224.8 kB / 0.9671 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.7339, allocations: 97.09 kB / 0.9672 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.734, allocations: 42.55 kB / 0.9672 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.734, allocations: 0 / 0.9672 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.002907/0.7369, allocations: 1.436 MB / 0.9686 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7369, allocations: 59.84 kB / 0.9687 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.7376, allocations: 0.5382 MB / 0.9692 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.7377, allocations: 41.69 kB / 0.9692 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.7379, allocations: 320.8 kB / 0.9696 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.7381, allocations: 169.5 kB / 0.9697 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.7382, allocations: 86.16 kB / 0.9698 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7384, allocations: 378.7 kB / 0.9702 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.7387, allocations: 177 kB / 0.9703 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.7391, allocations: 264.8 kB / 0.9706 GB, free: 5.363 MB / 0.7325 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.7425, allocations: 1.439 MB / 0.972 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7426, allocations: 4 kB / 0.972 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008988/0.7435, allocations: 0.5304 MB / 0.9725 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7435, allocations: 7.938 kB / 0.9725 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7435, allocations: 4 kB / 0.9725 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7435, allocations: 4 kB / 0.9725 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.744, allocations: 95.84 kB / 0.9726 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.744, allocations: 7.984 kB / 0.9726 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.7446, allocations: 16.14 kB / 0.9726 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.7447, allocations: 27.88 kB / 0.9727 GB, free: 3.172 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.745, allocations: 245.7 kB / 0.9729 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7451, allocations: 71.16 kB / 0.973 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.7453, allocations: 78.45 kB / 0.973 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7453, allocations: 8 kB / 0.973 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7454, allocations: 0 / 0.973 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007688/0.7461, allocations: 0.5105 MB / 0.9735 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.7485, allocations: 1.586 MB / 0.9751 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7485, allocations: 8.141 kB / 0.9751 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.7491, allocations: 119.8 kB / 0.9752 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.7491, allocations: 4 kB / 0.9752 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.7491, allocations: 23.98 kB / 0.9752 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7492, allocations: 4 kB / 0.9752 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.7492, allocations: 15.88 kB / 0.9753 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.7504, allocations: 0.8873 MB / 0.9761 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.7507, allocations: 196.2 kB / 0.9763 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7508, allocations: 23.98 kB / 0.9763 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.7514, allocations: 16.61 kB / 0.9764 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7515, allocations: 51.77 kB / 0.9764 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7515, allocations: 23.98 kB / 0.9764 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004831/0.752, allocations: 398.8 kB / 0.9768 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.752, allocations: 0 / 0.9768 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007221/0.7528, allocations: 196 kB / 0.977 GB, free: 14.48 MB / 0.7481 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 (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.0004778/0.7533, allocations: 194.3 kB / 0.9772 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008458/0.7541, allocations: 445.2 kB / 0.9776 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7541, allocations: 320 / 0.9776 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.7545, allocations: 240.6 kB / 0.9778 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.7568, allocations: 490.8 kB / 0.9783 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.7595, allocations: 1.592 MB / 0.9799 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.7602, allocations: 0.9772 MB / 0.9808 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.7604, allocations: 63.44 kB / 0.9809 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.7604, allocations: 0 / 0.9809 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.3639/1.124, allocations: 11.69 MB / 0.9923 GB, free: 208.8 MB / 0.7481 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)