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.0007981/0.0007978, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006048/0.006048, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.092/1.092, allocations: 135.3 MB / 426.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004995, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1911, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5725/0.7637, allocations: 193.9 MB / 0.7773 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01625/0.78, allocations: 10.32 MB / 0.7874 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.7823, allocations: 47.69 kB / 0.7875 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7841, allocations: 485.2 kB / 0.7879 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.7909, allocations: 1.833 MB / 0.7897 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.795, allocations: 1.232 MB / 0.7909 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006352/0.8013, allocations: 3.664 MB / 0.7945 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.8036, allocations: 0.9891 MB / 0.7955 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.8102, allocations: 1.466 MB / 0.7969 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.813, allocations: 0.9133 MB / 0.7978 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.8135, allocations: 51.94 kB / 0.7978 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.8198, allocations: 2.377 MB / 0.8001 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000848/0.8206, allocations: 334.8 kB / 0.8005 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.8224, allocations: 0.6464 MB / 0.8011 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.8289, allocations: 2.496 MB / 0.8035 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8289, allocations: 0 / 0.8035 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8289, allocations: 0 / 0.8035 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.989e-05/0.829, allocations: 0 / 0.8035 GB, free: 15.61 MB / 0.6231 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.00392/0.833, allocations: 1.569 MB / 0.8051 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.833, allocations: 12.03 kB / 0.8051 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.8356, allocations: 365.9 kB / 0.8054 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.8377, allocations: 0.9128 MB / 0.8063 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.8378, allocations: 82 kB / 0.8064 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.838, allocations: 103.9 kB / 0.8065 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.84, allocations: 1.099 MB / 0.8076 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.84, allocations: 7.938 kB / 0.8076 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.8401, allocations: 40 kB / 0.8076 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.8402, allocations: 38 kB / 0.8077 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.8418, allocations: 0.808 MB / 0.8084 GB, free: 10.43 MB / 0.6231 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.007067/0.8488, allocations: 5.078 MB / 0.8134 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.8502, allocations: 0.6991 MB / 0.8141 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.8509, allocations: 359.8 kB / 0.8144 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.8516, allocations: 331.9 kB / 0.8147 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.8517, allocations: 35.12 kB / 0.8148 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 4.94e-06/0.8517, allocations: 4 kB / 0.8148 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002253/0.8539, allocations: 0.9428 MB / 0.8157 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.854, allocations: 59.97 kB / 0.8158 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.8554, allocations: 0.8764 MB / 0.8166 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.8555, allocations: 41.64 kB / 0.8167 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.856, allocations: 0.5623 MB / 0.8172 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.8562, allocations: 252.3 kB / 0.8174 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8563, allocations: 65.69 kB / 0.8175 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8565, allocations: 337.9 kB / 0.8178 GB, free: 332 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.857, allocations: 245.9 kB / 0.8181 GB, free: 88 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.8577, allocations: 451 kB / 0.8185 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.8589, allocations: 0.7094 MB / 0.8192 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8589, allocations: 0 / 0.8192 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001708/0.8606, allocations: 0.8359 MB / 0.82 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.8609, allocations: 229 kB / 0.8202 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.8609, allocations: 11.91 kB / 0.8202 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.8609, allocations: 9.312 kB / 0.8202 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.8625, allocations: 259.6 kB / 0.8205 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.864, allocations: 1.393 MB / 0.8218 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.8652, allocations: 116.1 kB / 0.822 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/0.8652, allocations: 28 kB / 0.822 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/0.8653, allocations: 4 kB / 0.822 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/0.8667, allocations: 0.706 MB / 0.8227 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8667, allocations: 4 kB / 0.8227 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.8667, allocations: 12 kB / 0.8227 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.8682, allocations: 256.3 kB / 0.8229 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.8697, allocations: 1.393 MB / 0.8243 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.8708, allocations: 110.2 kB / 0.8244 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.8708, allocations: 28 kB / 0.8244 GB, free: 9.086 MB / 0.6387 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006995/0.8715, allocations: 370.1 kB / 0.8248 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.8718, allocations: 114.6 kB / 0.8249 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.8737, allocations: 0.7941 MB / 0.8257 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.8737, allocations: 8 kB / 0.8257 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8738, allocations: 3.984 kB / 0.8257 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.8752, allocations: 0.7 MB / 0.8264 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.8797, allocations: 1.934 MB / 0.8283 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.8797, allocations: 4 kB / 0.8283 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.8805, allocations: 139.8 kB / 0.8284 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.8809, allocations: 49.03 kB / 0.8284 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.881, allocations: 19.94 kB / 0.8285 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.8824, allocations: 1.356 MB / 0.8298 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.8824, allocations: 4.031 kB / 0.8298 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.8848, allocations: 1.258 MB / 0.831 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.8853, allocations: 259.4 kB / 0.8313 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.8855, allocations: 23.98 kB / 0.8313 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.8863, allocations: 51.95 kB / 0.8313 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8864, allocations: 52.38 kB / 0.8314 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.8865, allocations: 20 kB / 0.8314 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001038/0.8875, allocations: 0.5967 MB / 0.832 GB, free: 1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8875, allocations: 4 kB / 0.832 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001977/0.8895, allocations: 0.5296 MB / 0.8325 GB, free: 476 kB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006919/0.8902, allocations: 218.2 kB / 0.8327 GB, free: 260 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00426/0.8945, allocations: 1.186 MB / 0.8339 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.8945, allocations: 0 / 0.8339 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.8958, allocations: 452.5 kB / 0.8343 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/0.8997, allocations: 0.5041 MB / 0.8348 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.9055, allocations: 2.742 MB / 0.8375 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.9066, allocations: 1.14 MB / 0.8386 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00134/0.908, allocations: 276.8 kB / 0.8388 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.9083, allocations: 79.44 kB / 0.8389 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.144e-06/0.9083, allocations: 0 / 0.8389 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.03265/0.941, allocations: 16.91 MB / 0.8554 GB, free: 9.148 MB / 0.67 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)