Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001249/0.001249, allocations: 172.7 kB / 15.95 MB, free: 208 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.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9953/0.9953, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003063, allocations: 11.94 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1666, allocations: 82.29 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5876/0.7543, allocations: 180.9 MB / 0.764 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.7691, allocations: 9.679 MB / 0.7735 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.771, allocations: 47.69 kB / 0.7735 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.7724, allocations: 397.1 kB / 0.7739 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.7772, allocations: 1.45 MB / 0.7753 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.7812, allocations: 1.047 MB / 0.7763 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005785/0.787, allocations: 3.128 MB / 0.7794 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7886, allocations: 0.8669 MB / 0.7802 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.7917, allocations: 1.315 MB / 0.7815 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.793, allocations: 0.8635 MB / 0.7824 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.7932, allocations: 48 kB / 0.7824 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.7962, allocations: 1.318 MB / 0.7837 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.7966, allocations: 342.8 kB / 0.784 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.7969, allocations: 273 kB / 0.7843 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.7988, allocations: 1.672 MB / 0.7859 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7988, allocations: 0 / 0.7859 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7988, allocations: 0 / 0.7859 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.7988, allocations: 0 / 0.7859 GB, free: 1.625 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002314/0.8011, allocations: 1.577 MB / 0.7875 GB, free: 0 / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.8012, allocations: 12.08 kB / 0.7875 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.8031, allocations: 369.8 kB / 0.7878 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.8045, allocations: 0.8824 MB / 0.7887 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.8045, allocations: 81.62 kB / 0.7888 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.8047, allocations: 104 kB / 0.7889 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.8063, allocations: 1.107 MB / 0.7899 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.8064, allocations: 0 / 0.7899 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.8065, allocations: 40 kB / 0.79 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.8065, allocations: 38 kB / 0.79 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.8078, allocations: 0.7962 MB / 0.7908 GB, free: 12.48 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.005303/0.8132, allocations: 5.066 MB / 0.7957 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.8143, allocations: 0.6989 MB / 0.7964 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.8148, allocations: 359 kB / 0.7968 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005546/0.8154, allocations: 319.9 kB / 0.7971 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.8154, allocations: 47.58 kB / 0.7971 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.737e-06/0.8155, allocations: 0 / 0.7971 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.00175/0.8172, allocations: 0.9349 MB / 0.798 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.8173, allocations: 63.95 kB / 0.7981 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.8183, allocations: 0.8647 MB / 0.7989 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.8183, allocations: 41.7 kB / 0.799 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.8188, allocations: 0.5623 MB / 0.7995 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.819, allocations: 240.4 kB / 0.7997 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.819, allocations: 16 kB / 0.7998 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8191, allocations: 337.9 kB / 0.8001 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.8196, allocations: 245.9 kB / 0.8003 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.8202, allocations: 447 kB / 0.8007 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.8207, allocations: 307.1 kB / 0.801 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8207, allocations: 4 kB / 0.801 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001366/0.8221, allocations: 0.8237 MB / 0.8018 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.8223, allocations: 240.5 kB / 0.8021 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.8223, allocations: 11.94 kB / 0.8021 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.8223, allocations: 15.98 kB / 0.8021 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8237, allocations: 255.6 kB / 0.8023 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.825, allocations: 1.382 MB / 0.8037 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.8258, allocations: 115.2 kB / 0.8038 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.8259, allocations: 35.98 kB / 0.8038 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.8259, allocations: 4 kB / 0.8038 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.8271, allocations: 0.7026 MB / 0.8045 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8271, allocations: 8.125 kB / 0.8045 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.8271, allocations: 8 kB / 0.8045 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.8284, allocations: 247.7 kB / 0.8048 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.8296, allocations: 1.402 MB / 0.8062 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.8304, allocations: 106.1 kB / 0.8063 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.8305, allocations: 35.98 kB / 0.8063 GB, free: 11.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005519/0.831, allocations: 371.4 kB / 0.8066 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.8312, allocations: 106.7 kB / 0.8067 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.8327, allocations: 0.7902 MB / 0.8075 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.8328, allocations: 7.984 kB / 0.8075 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.8328, allocations: 3.938 kB / 0.8075 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.834, allocations: 0.7117 MB / 0.8082 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.837, allocations: 1.922 MB / 0.8101 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.837, allocations: 0 / 0.8101 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.8377, allocations: 147.8 kB / 0.8102 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.8381, allocations: 49.03 kB / 0.8103 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.8381, allocations: 20.88 kB / 0.8103 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.8393, allocations: 1.347 MB / 0.8116 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8393, allocations: 4 kB / 0.8116 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.8413, allocations: 1.254 MB / 0.8128 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.8417, allocations: 251.5 kB / 0.8131 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.8418, allocations: 16 kB / 0.8131 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.8424, allocations: 63.78 kB / 0.8132 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.8425, allocations: 48.45 kB / 0.8132 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.8426, allocations: 27.94 kB / 0.8132 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007038/0.8433, allocations: 0.5928 MB / 0.8138 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8433, allocations: 0 / 0.8138 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001417/0.8447, allocations: 0.522 MB / 0.8143 GB, free: 3.141 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004661/0.8452, allocations: 217.4 kB / 0.8145 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003117/0.8483, allocations: 1.178 MB / 0.8157 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.8483, allocations: 4.188 kB / 0.8157 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007564/0.8491, allocations: 453.3 kB / 0.8161 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.8514, allocations: 0.5047 MB / 0.8166 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.8552, allocations: 2.669 MB / 0.8192 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.856, allocations: 1.14 MB / 0.8203 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00103/0.857, allocations: 284.9 kB / 0.8206 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.8572, allocations: 75.44 kB / 0.8207 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.8572, allocations: 0 / 0.8207 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.03224/0.8895, allocations: 16.4 MB / 0.8367 GB, free: 12.4 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)