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.006807/0.006807, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001286/0.001286, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9742/0.9742, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4904, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2415/0.7319, allocations: 198.8 MB / 0.8588 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4285/1.16, allocations: 10.35 MB / 0.8689 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/1.162, allocations: 56.25 kB / 0.869 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/1.164, allocations: 0.5846 MB / 0.8695 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006145/1.17, allocations: 2.044 MB / 0.8715 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/1.174, allocations: 1.392 MB / 0.8729 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0047/1.178, allocations: 2.822 MB / 0.8757 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/1.181, allocations: 1.169 MB / 0.8768 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/1.186, allocations: 1.723 MB / 0.8785 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/1.188, allocations: 0.9601 MB / 0.8794 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004026/1.189, allocations: 119.1 kB / 0.8795 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/1.195, allocations: 2.158 MB / 0.8816 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006432/1.195, allocations: 426.3 kB / 0.882 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/1.197, allocations: 0.7101 MB / 0.8827 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/1.203, allocations: 2.526 MB / 0.8852 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.203, allocations: 0.625 kB / 0.8852 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.794e-06/1.203, allocations: 0 / 0.8852 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.249e-05/1.203, allocations: 0.9688 kB / 0.8852 GB, free: 1.539 MB / 0.6856 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.003888/1.207, allocations: 1.824 MB / 0.887 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.207, allocations: 11.59 kB / 0.887 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/1.209, allocations: 367.5 kB / 0.8873 GB, free: 16.51 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/1.211, allocations: 0.9673 MB / 0.8883 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/1.211, allocations: 75.91 kB / 0.8884 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.212, allocations: 107.5 kB / 0.8885 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/1.214, allocations: 1.104 MB / 0.8895 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.214, allocations: 7.625 kB / 0.8896 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/1.214, allocations: 41.38 kB / 0.8896 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/1.214, allocations: 35.78 kB / 0.8896 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/1.215, allocations: 0.8034 MB / 0.8904 GB, free: 15.94 MB / 0.7012 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.006213/1.222, allocations: 5.065 MB / 0.8954 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.223, allocations: 0.7032 MB / 0.896 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/1.223, allocations: 354.2 kB / 0.8964 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006814/1.224, allocations: 321.3 kB / 0.8967 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.224, allocations: 40.34 kB / 0.8967 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.637e-06/1.224, allocations: 1.531 kB / 0.8967 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.00222/1.226, allocations: 0.9445 MB / 0.8976 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.227, allocations: 59.12 kB / 0.8977 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.228, allocations: 0.8806 MB / 0.8986 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/1.228, allocations: 39.8 kB / 0.8986 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/1.229, allocations: 0.5547 MB / 0.8991 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.229, allocations: 248.3 kB / 0.8994 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/1.229, allocations: 138.3 kB / 0.8995 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.23, allocations: 339.9 kB / 0.8998 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/1.23, allocations: 259.8 kB / 0.9001 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/1.231, allocations: 441.1 kB / 0.9005 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.232, allocations: 0.7088 MB / 0.9012 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.232, allocations: 2.781 kB / 0.9012 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001536/1.234, allocations: 0.8335 MB / 0.902 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.234, allocations: 8.469 kB / 0.902 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.234, allocations: 7.781 kB / 0.902 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/1.234, allocations: 14.66 kB / 0.902 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.235, allocations: 263.5 kB / 0.9023 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.237, allocations: 1.49 MB / 0.9038 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.238, allocations: 88.78 kB / 0.9038 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/1.238, allocations: 31.06 kB / 0.9039 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007577/1.239, allocations: 475.6 kB / 0.9043 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005498/1.24, allocations: 448 kB / 0.9047 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/1.241, allocations: 0.706 MB / 0.9054 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.775e-06/1.241, allocations: 7.656 kB / 0.9054 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001494/1.242, allocations: 0.8233 MB / 0.9062 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.242, allocations: 14.23 kB / 0.9063 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.242, allocations: 5.875 kB / 0.9063 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/1.242, allocations: 10.23 kB / 0.9063 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.244, allocations: 269.2 kB / 0.9065 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.245, allocations: 1.49 MB / 0.908 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/1.246, allocations: 63.3 kB / 0.908 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/1.246, allocations: 34.14 kB / 0.9081 GB, free: 7.691 MB / 0.7012 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.0003073/1.246, allocations: 232.1 kB / 0.9083 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/1.247, allocations: 111.5 kB / 0.9084 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.248, allocations: 0.7923 MB / 0.9092 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.248, allocations: 6.25 kB / 0.9092 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.248, allocations: 3.25 kB / 0.9092 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.249, allocations: 0.7051 MB / 0.9099 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/1.253, allocations: 1.931 MB / 0.9118 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.253, allocations: 5.875 kB / 0.9118 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007225/1.254, allocations: 142 kB / 0.9119 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/1.254, allocations: 47.05 kB / 0.912 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/1.254, allocations: 20 kB / 0.912 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/1.255, allocations: 1.451 MB / 0.9134 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.255, allocations: 0 / 0.9134 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/1.257, allocations: 1.263 MB / 0.9146 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/1.258, allocations: 248.6 kB / 0.9149 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/1.258, allocations: 19.47 kB / 0.9149 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/1.259, allocations: 24.84 kB / 0.9149 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/1.259, allocations: 46.8 kB / 0.9149 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/1.259, allocations: 23.97 kB / 0.915 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007356/1.26, allocations: 0.596 MB / 0.9155 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.26, allocations: 0 / 0.9155 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001575/1.261, allocations: 0.5376 MB / 0.9161 GB, free: 4.77 MB / 0.7012 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.0004856/1.262, allocations: 216.4 kB / 0.9163 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.265, allocations: 1.204 MB / 0.9175 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.265, allocations: 4.094 kB / 0.9175 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000736/1.266, allocations: 447.8 kB / 0.9179 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.268, allocations: 0.513 MB / 0.9184 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/1.272, allocations: 2.18 MB / 0.9205 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/1.273, allocations: 1.141 MB / 0.9216 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001039/1.274, allocations: 274 kB / 0.9219 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/1.274, allocations: 80.28 kB / 0.922 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/1.274, allocations: 1.906 kB / 0.922 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of Templates: time 0.03164/1.306, allocations: 17.83 MB / 0.9394 GB, free: 14.25 MB / 0.7169 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)