Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7089/0.7089, allocations: 133.4 MB / 150.1 MB, free: 11.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 404.7 MB, free: 6.004 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 110.2 kB / 485.9 MB, free: 7.113 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001048, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1558, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5176/0.6735, allocations: 218.8 MB / 0.8558 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009956/0.6835, allocations: 5.777 MB / 0.8615 GB, free: 376 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.6847, allocations: 35.75 kB / 0.8615 GB, free: 340 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6862, allocations: 0.5052 MB / 0.862 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.6906, allocations: 1.74 MB / 0.8637 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.6933, allocations: 1.072 MB / 0.8647 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004051/0.6973, allocations: 4.091 MB / 0.8687 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.6985, allocations: 0.8693 MB / 0.8696 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.6999, allocations: 0.9258 MB / 0.8705 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.7021, allocations: 0.973 MB / 0.8714 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.7022, allocations: 52 kB / 0.8715 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.7051, allocations: 1.629 MB / 0.8731 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.7055, allocations: 406.8 kB / 0.8735 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.7062, allocations: 0.5986 MB / 0.8741 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.7087, allocations: 2.162 MB / 0.8762 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.7087, allocations: 0 / 0.8762 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7088, allocations: 4 kB / 0.8762 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.7088, allocations: 0 / 0.8762 GB, free: 1.273 MB / 0.6042 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.002517/0.7113, allocations: 1.504 MB / 0.8776 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.7114, allocations: 8.031 kB / 0.8777 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.7132, allocations: 318.3 kB / 0.878 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.7145, allocations: 0.8162 MB / 0.8788 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.7146, allocations: 66 kB / 0.8788 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.7147, allocations: 87.98 kB / 0.8789 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.7162, allocations: 0.9131 MB / 0.8798 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.7162, allocations: 0 / 0.8798 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.7163, allocations: 36 kB / 0.8798 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.7164, allocations: 37.94 kB / 0.8799 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.7177, allocations: 0.8315 MB / 0.8807 GB, free: 12.56 MB / 0.6198 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.005083/0.7228, allocations: 3.532 MB / 0.8841 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/0.7236, allocations: 0.4923 MB / 0.8846 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.7241, allocations: 302 kB / 0.8849 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.7243, allocations: 101.5 kB / 0.885 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.7243, allocations: 46.94 kB / 0.885 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.7243, allocations: 0 / 0.885 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.003375/0.7277, allocations: 1.868 MB / 0.8869 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.7278, allocations: 63.84 kB / 0.8869 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.7287, allocations: 0.8096 MB / 0.8877 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.7287, allocations: 37.7 kB / 0.8877 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.7291, allocations: 479.2 kB / 0.8882 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.7292, allocations: 173.6 kB / 0.8884 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.7294, allocations: 114.2 kB / 0.8885 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7295, allocations: 334 kB / 0.8888 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.73, allocations: 249.2 kB / 0.889 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.7305, allocations: 376.7 kB / 0.8894 GB, free: 3.184 MB / 0.6198 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.003875/0.7344, allocations: 1.535 MB / 0.8909 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7344, allocations: 0 / 0.8909 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00237/0.7368, allocations: 0.7922 MB / 0.8917 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7368, allocations: 8.406 kB / 0.8917 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7368, allocations: 8 kB / 0.8917 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.7371, allocations: 69.61 kB / 0.8917 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.7384, allocations: 147.8 kB / 0.8919 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.7423, allocations: 2.885 MB / 0.8947 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.7439, allocations: 60.98 kB / 0.8948 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.744, allocations: 20 kB / 0.8948 GB, free: 13.31 MB / 0.6355 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.0007854/0.7448, allocations: 301.6 kB / 0.8951 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.7451, allocations: 94.91 kB / 0.8952 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.7454, allocations: 100.7 kB / 0.8953 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.7455, allocations: 11.88 kB / 0.8953 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7455, allocations: 0 / 0.8953 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/0.7474, allocations: 0.8349 MB / 0.8961 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.7525, allocations: 1.794 MB / 0.8978 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7525, allocations: 12.03 kB / 0.8978 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.7537, allocations: 131.8 kB / 0.898 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.7539, allocations: 32.84 kB / 0.898 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.754, allocations: 16 kB / 0.898 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.756, allocations: 1.487 MB / 0.8995 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.756, allocations: 4 kB / 0.8995 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.7662, allocations: 3.864 MB / 0.9032 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.7669, allocations: 236 kB / 0.9035 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.7671, allocations: 16.06 kB / 0.9035 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.7684, allocations: 63.86 kB / 0.9035 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.7686, allocations: 47.81 kB / 0.9036 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7687, allocations: 31.92 kB / 0.9036 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001224/0.7699, allocations: 0.5615 MB / 0.9042 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.77, allocations: 0 / 0.9042 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002047/0.772, allocations: 388 kB / 0.9045 GB, free: 2.777 MB / 0.6355 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.0006076/0.7726, allocations: 192 kB / 0.9047 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.7749, allocations: 0.796 MB / 0.9055 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.7749, allocations: 4 kB / 0.9055 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.776, allocations: 407.9 kB / 0.9059 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/0.7811, allocations: 0.5804 MB / 0.9065 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.7866, allocations: 2.512 MB / 0.9089 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7877, allocations: 1.099 MB / 0.91 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001656/0.7894, allocations: 227.7 kB / 0.9102 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.7898, allocations: 67.44 kB / 0.9103 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/0.7898, allocations: 0 / 0.9103 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.05477/0.8446, allocations: 19.96 MB / 0.9298 GB, free: 9.02 MB / 0.6667 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)