Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00143/0.00143, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.00156/0.00156, allocations: 196.7 kB / 17.3 MB, free: 5.48 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3836, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5758/0.9595, allocations: 181.8 MB / 0.7591 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007963/0.9675, allocations: 5.358 MB / 0.7643 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.9686, allocations: 35.84 kB / 0.7643 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.9698, allocations: 439.2 kB / 0.7648 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.9741, allocations: 1.671 MB / 0.7664 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.9761, allocations: 0.8098 MB / 0.7672 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.9794, allocations: 2.184 MB / 0.7693 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.9802, allocations: 0.6827 MB / 0.77 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.9814, allocations: 0.7364 MB / 0.7707 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.9831, allocations: 0.684 MB / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.9833, allocations: 77.45 kB / 0.7714 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.9862, allocations: 1.399 MB / 0.7728 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.9865, allocations: 318.2 kB / 0.7731 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008202/0.9874, allocations: 470.8 kB / 0.7736 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.9914, allocations: 1.657 MB / 0.7752 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9915, allocations: 3.188 kB / 0.7752 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9915, allocations: 0.875 kB / 0.7752 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.9915, allocations: 0.9375 kB / 0.7752 GB, free: 1.41 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.002432/0.9939, allocations: 1.18 MB / 0.7763 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.994, allocations: 11.94 kB / 0.7763 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.9959, allocations: 266.1 kB / 0.7766 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.997, allocations: 0.7129 MB / 0.7773 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.9971, allocations: 51.34 kB / 0.7773 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.9972, allocations: 61.59 kB / 0.7774 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009094/0.9981, allocations: 0.5751 MB / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.9981, allocations: 0 / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.9982, allocations: 24.22 kB / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.9982, allocations: 24.95 kB / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.999, allocations: 0.5021 MB / 0.7785 GB, free: 16.34 MB / 0.5919 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.002983/1.002, allocations: 2.354 MB / 0.7808 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/1.003, allocations: 425.1 kB / 0.7812 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/1.003, allocations: 224.7 kB / 0.7814 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/1.003, allocations: 102.4 kB / 0.7815 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.003, allocations: 42.64 kB / 0.7816 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/1.003, allocations: 0 / 0.7816 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.002573/1.006, allocations: 1.434 MB / 0.783 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.006, allocations: 57.12 kB / 0.783 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/1.006, allocations: 0.5425 MB / 0.7835 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/1.006, allocations: 39.69 kB / 0.7836 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/1.007, allocations: 322.9 kB / 0.7839 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/1.007, allocations: 172.2 kB / 0.784 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.007, allocations: 87.14 kB / 0.7841 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.007, allocations: 374.3 kB / 0.7845 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/1.007, allocations: 175.5 kB / 0.7847 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/1.007, allocations: 259.1 kB / 0.7849 GB, free: 13.8 MB / 0.5919 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.002949/1.01, allocations: 1.427 MB / 0.7863 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.01, allocations: 0.9062 kB / 0.7863 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00074/1.011, allocations: 0.524 MB / 0.7868 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.011, allocations: 5.625 kB / 0.7868 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.011, allocations: 2.156 kB / 0.7868 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.011, allocations: 3.594 kB / 0.7868 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/1.012, allocations: 99.25 kB / 0.7869 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.012, allocations: 2.312 kB / 0.7869 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/1.012, allocations: 16.08 kB / 0.7869 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/1.012, allocations: 17.75 kB / 0.7869 GB, free: 13.47 MB / 0.5919 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.0003132/1.013, allocations: 253.9 kB / 0.7872 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/1.013, allocations: 69.75 kB / 0.7873 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/1.013, allocations: 85.02 kB / 0.7873 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.013, allocations: 6.375 kB / 0.7873 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.013, allocations: 4.906 kB / 0.7873 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006316/1.014, allocations: 0.5083 MB / 0.7878 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/1.016, allocations: 1.588 MB / 0.7894 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.016, allocations: 6.156 kB / 0.7894 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/1.016, allocations: 117.1 kB / 0.7895 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.016, allocations: 7.828 kB / 0.7895 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/1.016, allocations: 18.28 kB / 0.7895 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.016, allocations: 13.2 kB / 0.7896 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.016, allocations: 9.312 kB / 0.7896 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.018, allocations: 0.9389 MB / 0.7905 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/1.018, allocations: 199.2 kB / 0.7907 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/1.018, allocations: 18.94 kB / 0.7907 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/1.018, allocations: 15.22 kB / 0.7907 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/1.019, allocations: 42 kB / 0.7907 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/1.019, allocations: 29.72 kB / 0.7908 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004332/1.019, allocations: 396.6 kB / 0.7911 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.019, allocations: 1.094 kB / 0.7911 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006859/1.02, allocations: 203.2 kB / 0.7913 GB, free: 12.09 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.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[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 (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.0004283/1.02, allocations: 187.9 kB / 0.7915 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006919/1.021, allocations: 444.1 kB / 0.7919 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.021, allocations: 4.438 kB / 0.7919 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.021, allocations: 236.6 kB / 0.7922 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.023, allocations: 0.4949 MB / 0.7927 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.025, allocations: 1.538 MB / 0.7942 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/1.026, allocations: 0.9729 MB / 0.7951 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005711/1.027, allocations: 161 kB / 0.7953 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.027, allocations: 62.05 kB / 0.7953 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/1.027, allocations: 0 / 0.7953 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.02366/1.05, allocations: 14.83 MB / 0.8098 GB, free: 6.645 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)