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.001055/0.001055, allocations: 106.1 kB / 16.35 MB, free: 5.824 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.001094/0.001094, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3722, allocations: 80.17 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5359/0.9081, allocations: 221.1 MB / 0.7974 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008134/0.9163, allocations: 5.718 MB / 0.8029 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.9178, allocations: 42.84 kB / 0.803 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.9192, allocations: 0.577 MB / 0.8036 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.9233, allocations: 1.836 MB / 0.8053 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.926, allocations: 1.188 MB / 0.8065 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.9293, allocations: 2.938 MB / 0.8094 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.9305, allocations: 1.017 MB / 0.8104 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.932, allocations: 1.062 MB / 0.8114 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.9336, allocations: 0.9487 MB / 0.8123 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.9338, allocations: 105.5 kB / 0.8124 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.9364, allocations: 1.43 MB / 0.8138 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.9369, allocations: 461.8 kB / 0.8143 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008281/0.9377, allocations: 0.6439 MB / 0.8149 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.9409, allocations: 2.141 MB / 0.817 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9409, allocations: 0 / 0.817 GB, free: 452 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9409, allocations: 2.781 kB / 0.817 GB, free: 452 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.9409, allocations: 0 / 0.817 GB, free: 452 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.002353/0.9433, allocations: 1.498 MB / 0.8185 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9433, allocations: 9.031 kB / 0.8185 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.9453, allocations: 315.5 kB / 0.8188 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.9468, allocations: 0.8627 MB / 0.8196 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.9469, allocations: 65.75 kB / 0.8197 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.947, allocations: 84.81 kB / 0.8197 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9485, allocations: 0.9131 MB / 0.8206 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9485, allocations: 0 / 0.8206 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.9486, allocations: 40.44 kB / 0.8207 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.9486, allocations: 31.78 kB / 0.8207 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.95, allocations: 0.832 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.005084/0.9551, allocations: 3.502 MB / 0.8249 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.9558, allocations: 0.4961 MB / 0.8254 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.9563, allocations: 295.1 kB / 0.8257 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.9565, allocations: 107.3 kB / 0.8258 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.9565, allocations: 40.62 kB / 0.8259 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.963e-06/0.9565, allocations: 0 / 0.8259 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003473/0.96, allocations: 1.879 MB / 0.8277 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.9601, allocations: 61.31 kB / 0.8277 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.961, allocations: 0.8115 MB / 0.8285 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.961, allocations: 37.77 kB / 0.8286 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.9614, allocations: 473 kB / 0.829 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.9615, allocations: 178.6 kB / 0.8292 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.9617, allocations: 114.1 kB / 0.8293 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9619, allocations: 328.2 kB / 0.8296 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.9623, allocations: 244.7 kB / 0.8298 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.9629, allocations: 381.1 kB / 0.8302 GB, free: 11.58 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.003494/0.9664, allocations: 1.534 MB / 0.8317 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9664, allocations: 0 / 0.8317 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001266/0.9677, allocations: 0.7967 MB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9677, allocations: 5.5 kB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9677, allocations: 6.344 kB / 0.8325 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.9679, allocations: 68.67 kB / 0.8326 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.9686, allocations: 151.5 kB / 0.8327 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.9713, allocations: 3.117 MB / 0.8358 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9724, allocations: 31.3 kB / 0.8358 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.9725, allocations: 21.94 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.0007346/0.9732, allocations: 310.2 kB / 0.8361 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.9734, allocations: 92.97 kB / 0.8362 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.9736, allocations: 99.75 kB / 0.8363 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9737, allocations: 5.469 kB / 0.8363 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.9737, allocations: 0 / 0.8363 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.9749, allocations: 0.8359 MB / 0.8371 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.9778, allocations: 1.788 MB / 0.8389 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.9778, allocations: 6.875 kB / 0.8389 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.9784, allocations: 133.9 kB / 0.839 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.9785, allocations: 45.92 kB / 0.839 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.9786, allocations: 15.81 kB / 0.839 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.9798, allocations: 1.6 MB / 0.8406 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9799, allocations: 5.031 kB / 0.8406 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.9814, allocations: 1.107 MB / 0.8417 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.9819, allocations: 234.2 kB / 0.8419 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.982, allocations: 11.88 kB / 0.8419 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.9827, allocations: 26.16 kB / 0.842 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.9828, allocations: 52.97 kB / 0.842 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.9829, allocations: 29.8 kB / 0.842 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000746/0.9836, allocations: 0.5587 MB / 0.8426 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/0.9836, allocations: 0 / 0.8426 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008449/0.9845, allocations: 276.2 kB / 0.8428 GB, free: 2.027 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.0004188/0.9849, allocations: 181.1 kB / 0.843 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9862, allocations: 0.8138 MB / 0.8438 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.9863, allocations: 0 / 0.8438 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.9869, allocations: 414 kB / 0.8442 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.9893, allocations: 0.6133 MB / 0.8448 GB, free: 56 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.992, allocations: 1.799 MB / 0.8466 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.9927, allocations: 1.095 MB / 0.8476 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007194/0.9934, allocations: 211.7 kB / 0.8478 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.9936, allocations: 67.44 kB / 0.8479 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.9936, allocations: 0 / 0.8479 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.03196/1.026, allocations: 20.04 MB / 0.8675 GB, free: 9.102 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)