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.001486/0.001485, allocations: 102.5 kB / 16.35 MB, free: 6.289 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.001555/0.001555, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4012, allocations: 80.2 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5713/0.9726, allocations: 221 MB / 0.7974 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008617/0.9812, allocations: 5.715 MB / 0.8029 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.9831, allocations: 43.66 kB / 0.803 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.9848, allocations: 0.5837 MB / 0.8036 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.9894, allocations: 1.839 MB / 0.8053 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.9925, allocations: 1.181 MB / 0.8065 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.9965, allocations: 2.939 MB / 0.8094 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.9982, allocations: 1.023 MB / 0.8104 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/1.001, allocations: 1.063 MB / 0.8114 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/1.004, allocations: 0.9477 MB / 0.8123 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/1.004, allocations: 106.9 kB / 0.8124 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/1.007, allocations: 1.425 MB / 0.8138 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/1.008, allocations: 460.8 kB / 0.8143 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/1.009, allocations: 0.6419 MB / 0.8149 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/1.012, allocations: 2.137 MB / 0.817 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.012, allocations: 3.094 kB / 0.817 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/1.012, allocations: 0.8125 kB / 0.817 GB, free: 456 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.322e-05/1.012, allocations: 2.469 kB / 0.817 GB, free: 456 kB / 0.5762 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.002638/1.015, allocations: 1.501 MB / 0.8185 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.015, allocations: 8.469 kB / 0.8185 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/1.017, allocations: 311.3 kB / 0.8188 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.019, allocations: 0.8633 MB / 0.8196 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/1.019, allocations: 67.91 kB / 0.8197 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.019, allocations: 82.66 kB / 0.8197 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.02, allocations: 0.9196 MB / 0.8206 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.02, allocations: 0 / 0.8206 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/1.02, allocations: 36.25 kB / 0.8207 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/1.02, allocations: 35.73 kB / 0.8207 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.022, allocations: 0.8318 MB / 0.8215 GB, free: 15.21 MB / 0.5919 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.005137/1.027, allocations: 3.497 MB / 0.8249 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/1.027, allocations: 0.4982 MB / 0.8254 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/1.028, allocations: 300.2 kB / 0.8257 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.028, allocations: 93.86 kB / 0.8258 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.028, allocations: 46.42 kB / 0.8258 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.844e-06/1.028, allocations: 0.9375 kB / 0.8258 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003208/1.031, allocations: 1.885 MB / 0.8277 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.031, allocations: 60.41 kB / 0.8277 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/1.032, allocations: 0.8094 MB / 0.8285 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/1.032, allocations: 38.86 kB / 0.8286 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/1.033, allocations: 474.7 kB / 0.829 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.033, allocations: 177.5 kB / 0.8292 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.033, allocations: 116.4 kB / 0.8293 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.033, allocations: 327.5 kB / 0.8296 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/1.034, allocations: 247.8 kB / 0.8299 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/1.034, allocations: 386.5 kB / 0.8302 GB, free: 11.59 MB / 0.5919 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.0034/1.038, allocations: 1.531 MB / 0.8317 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.038, allocations: 2.969 kB / 0.8317 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001249/1.039, allocations: 0.7918 MB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.039, allocations: 8.094 kB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.039, allocations: 3.25 kB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/1.039, allocations: 64.02 kB / 0.8326 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/1.04, allocations: 153 kB / 0.8327 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.042, allocations: 3.119 MB / 0.8358 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/1.043, allocations: 36.48 kB / 0.8358 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/1.043, allocations: 22.38 kB / 0.8358 GB, free: 7.199 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004818/1.043, allocations: 306.1 kB / 0.8361 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/1.044, allocations: 92.09 kB / 0.8362 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/1.044, allocations: 102.8 kB / 0.8363 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.044, allocations: 3.406 kB / 0.8363 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.044, allocations: 0 / 0.8363 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/1.045, allocations: 0.8391 MB / 0.8371 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/1.048, allocations: 1.79 MB / 0.8389 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.048, allocations: 6.594 kB / 0.8389 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/1.048, allocations: 133.3 kB / 0.839 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.486e-05/1.048, allocations: 36.06 kB / 0.839 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.048, allocations: 20.7 kB / 0.839 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/1.05, allocations: 1.594 MB / 0.8406 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.05, allocations: 6.094 kB / 0.8406 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.051, allocations: 1.102 MB / 0.8417 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/1.052, allocations: 235.5 kB / 0.8419 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.052, allocations: 20.17 kB / 0.8419 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/1.052, allocations: 26.42 kB / 0.842 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.052, allocations: 46.11 kB / 0.842 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/1.053, allocations: 30.52 kB / 0.842 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007117/1.053, allocations: 0.5604 MB / 0.8426 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/1.053, allocations: 0 / 0.8426 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008798/1.054, allocations: 272.8 kB / 0.8428 GB, free: 2.035 MB / 0.5919 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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004417/1.055, allocations: 195.3 kB / 0.843 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.056, allocations: 0.806 MB / 0.8438 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.056, allocations: 4 kB / 0.8438 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/1.057, allocations: 407.7 kB / 0.8442 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.059, allocations: 0.6018 MB / 0.8448 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/1.062, allocations: 1.815 MB / 0.8466 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/1.063, allocations: 1.088 MB / 0.8476 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007286/1.063, allocations: 211.7 kB / 0.8478 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.064, allocations: 67.44 kB / 0.8479 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/1.064, allocations: 0 / 0.8479 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of Templates: time 0.03309/1.097, allocations: 20.05 MB / 0.8675 GB, free: 9.195 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)