Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001434/0.001434, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.00154/0.00154, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.569/1.569, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3923, allocations: 80.19 MB / 0.5807 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.552/0.9443, allocations: 190.4 MB / 0.7667 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008971/0.9533, allocations: 5.698 MB / 0.7723 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.9551, allocations: 43.97 kB / 0.7723 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.9567, allocations: 0.5655 MB / 0.7729 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.9616, allocations: 1.824 MB / 0.7747 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.965, allocations: 1.169 MB / 0.7758 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.9692, allocations: 2.95 MB / 0.7787 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.9711, allocations: 1.122 MB / 0.7798 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.9732, allocations: 1.056 MB / 0.7808 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.9753, allocations: 0.9692 MB / 0.7817 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.9755, allocations: 123.6 kB / 0.7819 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.9788, allocations: 1.44 MB / 0.7833 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.9794, allocations: 0.5706 MB / 0.7838 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.9805, allocations: 0.7275 MB / 0.7845 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.984, allocations: 2.321 MB / 0.7868 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.984, allocations: 0 / 0.7868 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.984, allocations: 0 / 0.7868 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.9841, allocations: 1.031 kB / 0.7868 GB, free: 1.164 MB / 0.5762 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.002653/0.9867, allocations: 1.625 MB / 0.7884 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.9868, allocations: 11.69 kB / 0.7884 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.9888, allocations: 323.9 kB / 0.7887 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.9901, allocations: 0.869 MB / 0.7896 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.9902, allocations: 76.47 kB / 0.7896 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.9903, allocations: 95.75 kB / 0.7897 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.992, allocations: 1.093 MB / 0.7908 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.9921, allocations: 0 / 0.7908 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.9922, allocations: 42.88 kB / 0.7908 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.9922, allocations: 39.8 kB / 0.7909 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.9937, allocations: 0.9911 MB / 0.7918 GB, free: 15.88 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.005843/0.9996, allocations: 4.268 MB / 0.796 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/1, allocations: 0.6006 MB / 0.7966 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/1.001, allocations: 341.3 kB / 0.7969 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/1.001, allocations: 103.5 kB / 0.797 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.001, allocations: 46.72 kB / 0.7971 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.146e-06/1.001, allocations: 3.938 kB / 0.7971 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003996/1.005, allocations: 2.197 MB / 0.7992 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.005, allocations: 61.66 kB / 0.7993 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.006, allocations: 0.885 MB / 0.8001 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/1.006, allocations: 37.98 kB / 0.8002 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.007, allocations: 0.5151 MB / 0.8007 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.007, allocations: 201.5 kB / 0.8009 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.007, allocations: 131.1 kB / 0.801 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.007, allocations: 333.5 kB / 0.8013 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/1.008, allocations: 287.8 kB / 0.8016 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/1.008, allocations: 441.2 kB / 0.802 GB, free: 12.1 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.003923/1.012, allocations: 1.738 MB / 0.8037 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.012, allocations: 0 / 0.8037 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001521/1.014, allocations: 0.9271 MB / 0.8046 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.014, allocations: 7.438 kB / 0.8046 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.014, allocations: 5.812 kB / 0.8046 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/1.014, allocations: 97.22 kB / 0.8047 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/1.015, allocations: 168.1 kB / 0.8049 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/1.018, allocations: 4.638 MB / 0.8094 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.02, allocations: 39.97 kB / 0.8094 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/1.02, allocations: 27.8 kB / 0.8095 GB, free: 7.656 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: 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.0006153/1.02, allocations: 343 kB / 0.8098 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.02, allocations: 105.7 kB / 0.8099 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/1.021, allocations: 106.1 kB / 0.81 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.021, allocations: 6.984 kB / 0.81 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.021, allocations: 4.25 kB / 0.81 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/1.022, allocations: 0.7576 MB / 0.8107 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/1.025, allocations: 1.983 MB / 0.8127 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.025, allocations: 7 kB / 0.8127 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/1.026, allocations: 152.3 kB / 0.8128 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/1.026, allocations: 42.17 kB / 0.8129 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/1.026, allocations: 17.91 kB / 0.8129 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.027, allocations: 1.608 MB / 0.8145 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.027, allocations: 5.719 kB / 0.8145 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.029, allocations: 1.228 MB / 0.8157 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/1.029, allocations: 252.1 kB / 0.8159 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/1.03, allocations: 18.31 kB / 0.8159 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/1.03, allocations: 34.83 kB / 0.816 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.03, allocations: 48.86 kB / 0.816 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/1.03, allocations: 32.03 kB / 0.816 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000791/1.031, allocations: 0.6199 MB / 0.8166 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.031, allocations: 4.281 kB / 0.8166 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001012/1.032, allocations: 298.6 kB / 0.8169 GB, free: 4.855 MB / 0.5919 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.0004931/1.033, allocations: 197.8 kB / 0.8171 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001898/1.035, allocations: 1.114 MB / 0.8182 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.035, allocations: 3.938 kB / 0.8182 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/1.035, allocations: 456.6 kB / 0.8186 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.038, allocations: 0.646 MB / 0.8193 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/1.042, allocations: 2.19 MB / 0.8214 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/1.042, allocations: 1.173 MB / 0.8226 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/1.043, allocations: 78.66 kB / 0.8226 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/1.043, allocations: 3.938 kB / 0.8226 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of Templates: time 0.03547/1.078, allocations: 26.97 MB / 0.849 GB, free: 9.941 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)