Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 91.06 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.001136/0.001136, 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.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7499/0.7499, allocations: 132.4 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002865, allocations: 13.81 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3519, allocations: 81.58 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.273/0.6249, allocations: 201.4 MB / 0.7798 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007538/0.6325, allocations: 5.404 MB / 0.7851 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.6334, allocations: 35.75 kB / 0.7851 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.6344, allocations: 401.5 kB / 0.7855 GB, free: 0.7578 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6375, allocations: 1.369 MB / 0.7868 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.6397, allocations: 0.8413 MB / 0.7877 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.6431, allocations: 3.439 MB / 0.791 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.6442, allocations: 0.719 MB / 0.7917 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.6457, allocations: 0.8907 MB / 0.7926 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.647, allocations: 0.8756 MB / 0.7934 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.6471, allocations: 44 kB / 0.7935 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.6487, allocations: 0.6976 MB / 0.7942 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.6491, allocations: 386.8 kB / 0.7945 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.6494, allocations: 257.1 kB / 0.7948 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.6507, allocations: 1.469 MB / 0.7962 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6508, allocations: 4 kB / 0.7962 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6508, allocations: 0 / 0.7962 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.6508, allocations: 0 / 0.7962 GB, free: 5.746 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001864/0.6526, allocations: 1.301 MB / 0.7975 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.6527, allocations: 12.03 kB / 0.7975 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.6546, allocations: 310.3 kB / 0.7978 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.6557, allocations: 0.7895 MB / 0.7986 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.6558, allocations: 66 kB / 0.7986 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6559, allocations: 91.92 kB / 0.7987 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.6575, allocations: 0.9092 MB / 0.7996 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6575, allocations: 3.984 kB / 0.7996 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/0.6576, allocations: 39.95 kB / 0.7996 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.6577, allocations: 37.98 kB / 0.7997 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6591, allocations: 0.8354 MB / 0.8005 GB, free: 1.258 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.004795/0.6639, allocations: 3.544 MB / 0.804 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.6647, allocations: 0.5019 MB / 0.8044 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.6651, allocations: 295.5 kB / 0.8047 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.6653, allocations: 109.5 kB / 0.8048 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.6654, allocations: 39 kB / 0.8049 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.6654, allocations: 4 kB / 0.8049 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003269/0.6686, allocations: 1.888 MB / 0.8067 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.6687, allocations: 59.8 kB / 0.8068 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008846/0.6696, allocations: 0.7941 MB / 0.8075 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.6696, allocations: 45.64 kB / 0.8076 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.67, allocations: 479.2 kB / 0.808 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.6701, allocations: 173.5 kB / 0.8082 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.6701, allocations: 8 kB / 0.8082 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.6702, allocations: 334 kB / 0.8085 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.6707, allocations: 249.2 kB / 0.8088 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.6712, allocations: 384.6 kB / 0.8091 GB, free: 7.949 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/0.6738, allocations: 0.9862 MB / 0.8101 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6738, allocations: 8 kB / 0.8101 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001269/0.6751, allocations: 0.7887 MB / 0.8109 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6751, allocations: 8 kB / 0.8109 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6751, allocations: 4 kB / 0.8109 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.6753, allocations: 65.67 kB / 0.811 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.676, allocations: 167.8 kB / 0.8111 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.6783, allocations: 2.877 MB / 0.8139 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.679, allocations: 63.14 kB / 0.814 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.679, allocations: 24 kB / 0.814 GB, free: 2.668 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003749/0.6794, allocations: 313.5 kB / 0.8143 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6796, allocations: 90.88 kB / 0.8144 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.6798, allocations: 100.7 kB / 0.8145 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6798, allocations: 11.95 kB / 0.8145 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.6798, allocations: 0 / 0.8145 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000977/0.6808, allocations: 0.8427 MB / 0.8153 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2489/0.9297, allocations: 1.793 MB / 0.8171 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.9297, allocations: 3.594 kB / 0.8171 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/0.9304, allocations: 143.5 kB / 0.8172 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.9305, allocations: 43.97 kB / 0.8173 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.9306, allocations: 15.22 kB / 0.8173 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/0.9316, allocations: 1.479 MB / 0.8187 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9316, allocations: 3.812 kB / 0.8187 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.9332, allocations: 1.105 MB / 0.8198 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.9336, allocations: 235.4 kB / 0.82 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.9337, allocations: 11.66 kB / 0.82 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.9345, allocations: 64.34 kB / 0.8201 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.9346, allocations: 51.06 kB / 0.8201 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.9346, allocations: 27.39 kB / 0.8202 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007442/0.9354, allocations: 0.5559 MB / 0.8207 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9354, allocations: 0 / 0.8207 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008857/0.9363, allocations: 275.7 kB / 0.821 GB, free: 217.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.9367, allocations: 175.6 kB / 0.8211 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.9379, allocations: 0.8046 MB / 0.8219 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9379, allocations: 4.062 kB / 0.8219 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.9385, allocations: 416.8 kB / 0.8223 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.941, allocations: 0.5734 MB / 0.8229 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.9436, allocations: 2.166 MB / 0.825 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.9442, allocations: 1.092 MB / 0.8261 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008064/0.945, allocations: 220.2 kB / 0.8263 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.9452, allocations: 66.66 kB / 0.8263 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.9452, allocations: 0 / 0.8263 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.02493/0.9701, allocations: 18.41 MB / 0.8443 GB, free: 207.4 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)