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.00143/0.00143, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.00149/0.00149, allocations: 187 kB / 17.34 MB, free: 5.73 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8706/0.8706, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.75 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.641/0.807, allocations: 221.1 MB / 0.8762 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009871/0.8169, allocations: 5.713 MB / 0.8818 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.8183, allocations: 39.75 kB / 0.8818 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.8199, allocations: 0.5786 MB / 0.8824 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.8244, allocations: 1.839 MB / 0.8842 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.8274, allocations: 1.193 MB / 0.8854 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003904/0.8313, allocations: 2.935 MB / 0.8882 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.8327, allocations: 1.021 MB / 0.8892 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.8345, allocations: 1.086 MB / 0.8903 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.8364, allocations: 0.9319 MB / 0.8912 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.8366, allocations: 108 kB / 0.8913 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.8395, allocations: 1.434 MB / 0.8927 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.84, allocations: 462.8 kB / 0.8931 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007756/0.8408, allocations: 0.6533 MB / 0.8938 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.844, allocations: 2.134 MB / 0.8959 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.844, allocations: 0 / 0.8959 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.844, allocations: 0 / 0.8959 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.844, allocations: 0 / 0.8959 GB, free: 4.59 MB / 0.6544 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.002395/0.8464, allocations: 1.507 MB / 0.8973 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8465, allocations: 12.03 kB / 0.8974 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.8485, allocations: 322.3 kB / 0.8977 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.8499, allocations: 0.8474 MB / 0.8985 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.8499, allocations: 66 kB / 0.8986 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.8501, allocations: 84 kB / 0.8986 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.8516, allocations: 0.9169 MB / 0.8995 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.8517, allocations: 0 / 0.8995 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.8518, allocations: 39.94 kB / 0.8996 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.8518, allocations: 30 kB / 0.8996 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.8532, allocations: 0.8354 MB / 0.9004 GB, free: 15.84 MB / 0.67 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.005124/0.8583, allocations: 3.512 MB / 0.9038 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.8591, allocations: 0.4896 MB / 0.9043 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.8596, allocations: 302 kB / 0.9046 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.8598, allocations: 105.5 kB / 0.9047 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.8599, allocations: 46.98 kB / 0.9048 GB, free: 11.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.8599, allocations: 0 / 0.9048 GB, free: 11.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003662/0.8635, allocations: 1.868 MB / 0.9066 GB, free: 9.164 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8636, allocations: 63.84 kB / 0.9066 GB, free: 9.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.8646, allocations: 0.8019 MB / 0.9074 GB, free: 8.277 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.8646, allocations: 37.7 kB / 0.9075 GB, free: 8.234 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.8649, allocations: 475.3 kB / 0.9079 GB, free: 7.762 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.8651, allocations: 177.5 kB / 0.9081 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.8653, allocations: 126.2 kB / 0.9082 GB, free: 7.457 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8654, allocations: 326 kB / 0.9085 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.8659, allocations: 249.1 kB / 0.9087 GB, free: 6.891 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.8664, allocations: 380.7 kB / 0.9091 GB, free: 6.469 MB / 0.67 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.003485/0.8699, allocations: 1.524 MB / 0.9106 GB, free: 4.883 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.8699, allocations: 3.938 kB / 0.9106 GB, free: 4.879 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001383/0.8713, allocations: 0.7884 MB / 0.9114 GB, free: 4.074 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8713, allocations: 4 kB / 0.9114 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.8713, allocations: 4.406 kB / 0.9114 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.8715, allocations: 77.7 kB / 0.9115 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.8722, allocations: 151.8 kB / 0.9116 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.8746, allocations: 3.116 MB / 0.9146 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.8755, allocations: 29.53 kB / 0.9147 GB, free: 424 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.8755, allocations: 24 kB / 0.9147 GB, free: 400 kB / 0.67 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.0005235/0.8761, allocations: 327.3 kB / 0.915 GB, free: 64 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.8762, allocations: 87.02 kB / 0.9151 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.8764, allocations: 100.7 kB / 0.9152 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8764, allocations: 8 kB / 0.9152 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.8764, allocations: 0 / 0.9152 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.8775, allocations: 0.8309 MB / 0.916 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.8802, allocations: 1.803 MB / 0.9178 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8802, allocations: 4 kB / 0.9178 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.8808, allocations: 127.8 kB / 0.9179 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.8809, allocations: 45.23 kB / 0.9179 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.8809, allocations: 12 kB / 0.9179 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.8822, allocations: 1.602 MB / 0.9195 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8822, allocations: 4 kB / 0.9195 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.8837, allocations: 1.089 MB / 0.9206 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.8841, allocations: 235.9 kB / 0.9208 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.8842, allocations: 19.94 kB / 0.9208 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.8849, allocations: 31.97 kB / 0.9209 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.885, allocations: 43.95 kB / 0.9209 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.8851, allocations: 27.98 kB / 0.9209 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007034/0.8858, allocations: 0.5576 MB / 0.9215 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8858, allocations: 0 / 0.9215 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000871/0.8866, allocations: 279.9 kB / 0.9217 GB, free: 8.773 MB / 0.6856 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.0004695/0.8871, allocations: 195.7 kB / 0.9219 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.8884, allocations: 0.8048 MB / 0.9227 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.8885, allocations: 4 kB / 0.9227 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.889, allocations: 402.3 kB / 0.9231 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.8916, allocations: 0.6048 MB / 0.9237 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.8944, allocations: 1.859 MB / 0.9255 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.8951, allocations: 1.091 MB / 0.9266 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.8953, allocations: 67.44 kB / 0.9266 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.8953, allocations: 4 kB / 0.9266 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of Templates: time 0.02829/0.9236, allocations: 22.2 MB / 0.9483 GB, free: 13.57 MB / 0.7169 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)