Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009103/0.0009103, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 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.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 8.812 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3517, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1785/0.5303, allocations: 180.9 MB / 0.7597 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.5427, allocations: 9.665 MB / 0.7692 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.544, allocations: 47.69 kB / 0.7692 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.5452, allocations: 401.2 kB / 0.7696 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.5488, allocations: 1.454 MB / 0.771 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.5515, allocations: 1.044 MB / 0.7721 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.5549, allocations: 3.143 MB / 0.7751 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.5562, allocations: 0.8591 MB / 0.776 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.5589, allocations: 1.315 MB / 0.7772 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.5603, allocations: 0.8596 MB / 0.7781 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.5605, allocations: 48 kB / 0.7781 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.5633, allocations: 1.321 MB / 0.7794 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.5637, allocations: 342.7 kB / 0.7797 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.5641, allocations: 269 kB / 0.78 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.5662, allocations: 1.672 MB / 0.7816 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5662, allocations: 0 / 0.7816 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5662, allocations: 0 / 0.7816 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.976e-05/0.5662, allocations: 4 kB / 0.7816 GB, free: 4.695 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002565/0.5688, allocations: 1.569 MB / 0.7832 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5688, allocations: 19.97 kB / 0.7832 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.5709, allocations: 369.8 kB / 0.7835 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.5725, allocations: 0.8786 MB / 0.7844 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.5725, allocations: 77.95 kB / 0.7845 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.5727, allocations: 108 kB / 0.7846 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.5744, allocations: 1.099 MB / 0.7857 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.5744, allocations: 0 / 0.7857 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.5745, allocations: 44 kB / 0.7857 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.5746, allocations: 37.94 kB / 0.7857 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.576, allocations: 0.8001 MB / 0.7865 GB, free: 15.55 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.005272/0.5813, allocations: 5.078 MB / 0.7915 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.5824, allocations: 0.7008 MB / 0.7922 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.583, allocations: 346.4 kB / 0.7925 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.5836, allocations: 331.8 kB / 0.7928 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.5837, allocations: 43.12 kB / 0.7928 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.084e-06/0.5837, allocations: 0 / 0.7928 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001791/0.5855, allocations: 0.9349 MB / 0.7938 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.5855, allocations: 59.97 kB / 0.7938 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.5865, allocations: 0.8724 MB / 0.7947 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.5865, allocations: 37.7 kB / 0.7947 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.587, allocations: 0.5546 MB / 0.7952 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.5872, allocations: 248.4 kB / 0.7955 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.5872, allocations: 20 kB / 0.7955 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5873, allocations: 341.9 kB / 0.7958 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.5878, allocations: 241.9 kB / 0.7961 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.5884, allocations: 439.1 kB / 0.7965 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.5889, allocations: 319 kB / 0.7968 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5889, allocations: 0 / 0.7968 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001318/0.5903, allocations: 0.8236 MB / 0.7976 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.5904, allocations: 233.7 kB / 0.7978 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5904, allocations: 7.984 kB / 0.7978 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5904, allocations: 8 kB / 0.7978 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.5919, allocations: 251.6 kB / 0.7981 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.5931, allocations: 1.389 MB / 0.7994 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.5939, allocations: 119.2 kB / 0.7995 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.5939, allocations: 32 kB / 0.7996 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.594, allocations: 4 kB / 0.7996 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/0.5951, allocations: 0.7025 MB / 0.8003 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5952, allocations: 4 kB / 0.8003 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5952, allocations: 11.98 kB / 0.8003 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.5965, allocations: 248 kB / 0.8005 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.5977, allocations: 1.401 MB / 0.8019 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.5984, allocations: 107.3 kB / 0.802 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.5984, allocations: 28 kB / 0.802 GB, free: 14.79 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 (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.0004058/0.5988, allocations: 377.2 kB / 0.8024 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.599, allocations: 110.7 kB / 0.8025 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.6006, allocations: 0.7863 MB / 0.8032 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6006, allocations: 7.938 kB / 0.8032 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.6006, allocations: 4 kB / 0.8032 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.6018, allocations: 0.7078 MB / 0.8039 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.6047, allocations: 1.934 MB / 0.8058 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6047, allocations: 0 / 0.8058 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.6055, allocations: 148 kB / 0.806 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/0.6058, allocations: 44.83 kB / 0.806 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.6059, allocations: 23.98 kB / 0.806 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.607, allocations: 1.34 MB / 0.8073 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6071, allocations: 11.94 kB / 0.8074 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.609, allocations: 1.246 MB / 0.8086 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.6093, allocations: 251.6 kB / 0.8088 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.6095, allocations: 20 kB / 0.8088 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.6101, allocations: 63.8 kB / 0.8089 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.6101, allocations: 52.39 kB / 0.8089 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.6102, allocations: 20 kB / 0.809 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006881/0.6109, allocations: 0.5889 MB / 0.8095 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6109, allocations: 0 / 0.8095 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001193/0.6121, allocations: 0.5259 MB / 0.81 GB, free: 6.203 MB / 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 (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.0004133/0.6125, allocations: 222.8 kB / 0.8103 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003134/0.6157, allocations: 1.17 MB / 0.8114 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6157, allocations: 4 kB / 0.8114 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007303/0.6164, allocations: 441.7 kB / 0.8118 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.6185, allocations: 0.5092 MB / 0.8123 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.6221, allocations: 2.681 MB / 0.8149 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.229/0.8511, allocations: 1.141 MB / 0.8161 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001393/0.8525, allocations: 270.3 kB / 0.8163 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.8528, allocations: 78.61 kB / 0.8164 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.8528, allocations: 0.75 kB / 0.8164 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.02662/0.8795, allocations: 16.4 MB / 0.8324 GB, free: 211.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)