Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00594/0.00594, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001354/0.001354, allocations: 192 kB / 16.67 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8408/0.8408, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.84 kB / 0.5862 GB, free: 21.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2065, allocations: 81.02 MB / 0.6654 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7313/0.9378, allocations: 190.5 MB / 0.8514 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.9492, allocations: 5.678 MB / 0.8569 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.9516, allocations: 41.38 kB / 0.8569 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.954, allocations: 0.5782 MB / 0.8575 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.9602, allocations: 1.824 MB / 0.8593 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.9643, allocations: 1.176 MB / 0.8604 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005048/0.9694, allocations: 2.952 MB / 0.8633 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.9714, allocations: 1.134 MB / 0.8644 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.9738, allocations: 1.055 MB / 0.8655 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.9759, allocations: 0.9681 MB / 0.8664 GB, free: 336 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.9761, allocations: 124 kB / 0.8665 GB, free: 212 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.9797, allocations: 1.446 MB / 0.8679 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007879/0.9805, allocations: 0.565 MB / 0.8685 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.9816, allocations: 0.7273 MB / 0.8692 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003826/0.9854, allocations: 2.351 MB / 0.8715 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9854, allocations: 0 / 0.8715 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9854, allocations: 0 / 0.8715 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.9854, allocations: 0 / 0.8715 GB, free: 11.1 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002794/0.9882, allocations: 1.65 MB / 0.8731 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.9883, allocations: 17.05 kB / 0.8731 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.9903, allocations: 342.8 kB / 0.8734 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.9919, allocations: 0.9183 MB / 0.8743 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.992, allocations: 70 kB / 0.8744 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.9921, allocations: 103.9 kB / 0.8745 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.9941, allocations: 1.081 MB / 0.8756 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.9941, allocations: 0 / 0.8756 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.9942, allocations: 40 kB / 0.8756 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/0.9943, allocations: 38 kB / 0.8756 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.9961, allocations: 0.9993 MB / 0.8766 GB, free: 5.746 MB / 0.6387 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.006505/1.003, allocations: 4.217 MB / 0.8807 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/1.004, allocations: 0.5997 MB / 0.8813 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/1.004, allocations: 344.4 kB / 0.8817 GB, free: 292 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.004, allocations: 97.53 kB / 0.8817 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.004, allocations: 46.94 kB / 0.8818 GB, free: 120 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/1.004, allocations: 0 / 0.8818 GB, free: 120 kB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004459/1.009, allocations: 2.226 MB / 0.884 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.009, allocations: 59.97 kB / 0.884 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/1.01, allocations: 0.8843 MB / 0.8849 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/1.01, allocations: 41.7 kB / 0.8849 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.011, allocations: 0.5196 MB / 0.8854 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.011, allocations: 210.2 kB / 0.8856 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.011, allocations: 134.6 kB / 0.8858 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.011, allocations: 330 kB / 0.8861 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/1.012, allocations: 285.8 kB / 0.8863 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/1.013, allocations: 453 kB / 0.8868 GB, free: 10.8 MB / 0.6544 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.004163/1.017, allocations: 1.737 MB / 0.8885 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.017, allocations: 3.984 kB / 0.8885 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001743/1.019, allocations: 0.9306 MB / 0.8894 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.019, allocations: 11.94 kB / 0.8894 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.019, allocations: 4 kB / 0.8894 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/1.019, allocations: 94.52 kB / 0.8895 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/1.02, allocations: 159.8 kB / 0.8896 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/1.024, allocations: 4.644 MB / 0.8942 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.025, allocations: 34.16 kB / 0.8942 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/1.025, allocations: 28 kB / 0.8942 GB, free: 2.645 MB / 0.6544 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006634/1.026, allocations: 345.7 kB / 0.8946 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.026, allocations: 111.3 kB / 0.8947 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/1.026, allocations: 109.2 kB / 0.8948 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.026, allocations: 8 kB / 0.8948 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.026, allocations: 0 / 0.8948 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/1.027, allocations: 0.7691 MB / 0.8955 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/1.031, allocations: 1.985 MB / 0.8975 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.031, allocations: 4 kB / 0.8975 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.032, allocations: 152.2 kB / 0.8976 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/1.032, allocations: 40.78 kB / 0.8977 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/1.032, allocations: 15.98 kB / 0.8977 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.033, allocations: 1.606 MB / 0.8992 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.033, allocations: 4 kB / 0.8993 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/1.035, allocations: 1.247 MB / 0.9005 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/1.036, allocations: 252.4 kB / 0.9007 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.036, allocations: 20 kB / 0.9007 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007059/1.037, allocations: 31.97 kB / 0.9008 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.037, allocations: 51.83 kB / 0.9008 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.037, allocations: 31.92 kB / 0.9008 GB, free: 11.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009634/1.038, allocations: 0.62 MB / 0.9014 GB, free: 10.89 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/1.038, allocations: 0 / 0.9014 GB, free: 10.89 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001079/1.039, allocations: 300 kB / 0.9017 GB, free: 10.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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.0005746/1.04, allocations: 200.5 kB / 0.9019 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.041, allocations: 1.014 MB / 0.9029 GB, free: 9.348 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.041, allocations: 4 kB / 0.9029 GB, free: 9.344 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006894/1.042, allocations: 448.1 kB / 0.9033 GB, free: 8.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/1.045, allocations: 0.6427 MB / 0.904 GB, free: 8.262 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/1.049, allocations: 2.114 MB / 0.906 GB, free: 6.074 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/1.05, allocations: 1.178 MB / 0.9072 GB, free: 4.867 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008884/1.05, allocations: 244.4 kB / 0.9074 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/1.051, allocations: 83.36 kB / 0.9075 GB, free: 4.543 MB / 0.67 GB Notification: Performance of SimCode: time 7.92e-07/1.051, allocations: 0 / 0.9075 GB, free: 4.543 MB / 0.67 GB Notification: Performance of Templates: time 0.04045/1.091, allocations: 22.51 MB / 0.9295 GB, free: 14.29 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)