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.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001458/0.001458, allocations: 195.3 kB / 16.14 MB, free: 6.637 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 289.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5068 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 94.78 kB / 0.6057 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1939, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5438/0.7377, allocations: 179.6 MB / 0.8682 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00866/0.7464, allocations: 5.431 MB / 0.8735 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.7475, allocations: 31.44 kB / 0.8735 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.7489, allocations: 376.5 kB / 0.8739 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.7529, allocations: 1.57 MB / 0.8754 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.7547, allocations: 0.7289 MB / 0.8761 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003258/0.758, allocations: 2.989 MB / 0.879 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.7588, allocations: 0.5736 MB / 0.8796 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009949/0.7598, allocations: 0.6406 MB / 0.8802 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.7618, allocations: 0.7053 MB / 0.8809 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.7619, allocations: 35.28 kB / 0.881 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.7655, allocations: 1.616 MB / 0.8825 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.7659, allocations: 275.2 kB / 0.8828 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005985/0.7665, allocations: 433.8 kB / 0.8832 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.7694, allocations: 1.706 MB / 0.8849 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7695, allocations: 0 / 0.8849 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7695, allocations: 4 kB / 0.8849 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.7695, allocations: 0 / 0.8849 GB, free: 7.637 MB / 0.6075 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.001943/0.7714, allocations: 1.188 MB / 0.886 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7715, allocations: 8.031 kB / 0.886 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.7734, allocations: 270.7 kB / 0.8863 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7745, allocations: 0.6787 MB / 0.887 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.7745, allocations: 45.25 kB / 0.887 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.7746, allocations: 60 kB / 0.8871 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.7757, allocations: 0.5765 MB / 0.8876 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.7758, allocations: 7.938 kB / 0.8876 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.7758, allocations: 32 kB / 0.8877 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.7759, allocations: 21.31 kB / 0.8877 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.7768, allocations: 0.497 MB / 0.8882 GB, free: 4.16 MB / 0.6075 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.003504/0.7803, allocations: 2.384 MB / 0.8905 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.7812, allocations: 430.8 kB / 0.8909 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.7816, allocations: 212.8 kB / 0.8911 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.7818, allocations: 105 kB / 0.8912 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.7818, allocations: 42.55 kB / 0.8913 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.7818, allocations: 0 / 0.8913 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003093/0.7849, allocations: 1.435 MB / 0.8927 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.785, allocations: 59.84 kB / 0.8927 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.7857, allocations: 0.5381 MB / 0.8932 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.7857, allocations: 41.7 kB / 0.8933 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.786, allocations: 328.7 kB / 0.8936 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.7862, allocations: 173.4 kB / 0.8938 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.7863, allocations: 86.25 kB / 0.8938 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.7865, allocations: 378.7 kB / 0.8942 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.7869, allocations: 173 kB / 0.8944 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.7873, allocations: 260.8 kB / 0.8946 GB, free: 13.21 MB / 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: 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.003534/0.7908, allocations: 1.437 MB / 0.896 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7908, allocations: 0 / 0.896 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009189/0.7918, allocations: 0.5304 MB / 0.8965 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7918, allocations: 12.09 kB / 0.8966 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.7918, allocations: 11.97 kB / 0.8966 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.7918, allocations: 4 kB / 0.8966 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.7923, allocations: 91.91 kB / 0.8967 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.7923, allocations: 0 / 0.8967 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.7929, allocations: 43.81 kB / 0.8967 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.793, allocations: 16 kB / 0.8967 GB, free: 11.01 MB / 0.6231 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.0003661/0.7934, allocations: 257.5 kB / 0.897 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.7935, allocations: 67.25 kB / 0.897 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.7937, allocations: 78.45 kB / 0.8971 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.7937, allocations: 4 kB / 0.8971 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7937, allocations: 4 kB / 0.8971 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007727/0.7945, allocations: 0.5067 MB / 0.8976 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.797, allocations: 1.589 MB / 0.8991 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.797, allocations: 4 kB / 0.8992 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.7976, allocations: 115.8 kB / 0.8993 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.7976, allocations: 4 kB / 0.8993 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.7977, allocations: 23.98 kB / 0.8993 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.7977, allocations: 7.938 kB / 0.8993 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7977, allocations: 8 kB / 0.8993 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.799, allocations: 0.9146 MB / 0.9002 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.7993, allocations: 200.2 kB / 0.9004 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7995, allocations: 23.92 kB / 0.9004 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.8001, allocations: 33.64 kB / 0.9004 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.8002, allocations: 47.83 kB / 0.9005 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.8002, allocations: 23.94 kB / 0.9005 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004788/0.8007, allocations: 398.8 kB / 0.9009 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8007, allocations: 0 / 0.9009 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007595/0.8015, allocations: 204 kB / 0.9011 GB, free: 6.273 MB / 0.6231 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.0004605/0.8019, allocations: 197.5 kB / 0.9013 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008194/0.8028, allocations: 429.3 kB / 0.9017 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8028, allocations: 4 kB / 0.9017 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.8032, allocations: 233.5 kB / 0.9019 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.8053, allocations: 474 kB / 0.9024 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.8086, allocations: 1.83 MB / 0.9042 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.8093, allocations: 0.9697 MB / 0.9051 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.81, allocations: 169.8 kB / 0.9053 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.8102, allocations: 55.44 kB / 0.9053 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.8102, allocations: 7.938 kB / 0.9053 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.02691/0.8371, allocations: 14.16 MB / 0.9191 GB, free: 3.898 MB / 0.6387 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)