Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7599/0.7599, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 60.31 kB / 0.5018 GB, free: 8.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 80.2 MB / 0.5801 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.494/0.6791, allocations: 187.1 MB / 0.7628 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.6942, allocations: 13.02 MB / 0.7755 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.6955, allocations: 31.81 kB / 0.7755 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.6968, allocations: 409.3 kB / 0.7759 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.6989, allocations: 0.9214 MB / 0.7768 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.7007, allocations: 0.7026 MB / 0.7775 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.7025, allocations: 1.493 MB / 0.779 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.7033, allocations: 0.6575 MB / 0.7796 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.7068, allocations: 1.716 MB / 0.7813 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.708, allocations: 0.4998 MB / 0.7818 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.7081, allocations: 52 kB / 0.7818 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.7097, allocations: 0.8731 MB / 0.7827 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.71, allocations: 275.2 kB / 0.7829 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.7104, allocations: 382 kB / 0.7833 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.7119, allocations: 1.161 MB / 0.7844 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7119, allocations: 4 kB / 0.7844 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7119, allocations: 0 / 0.7844 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.712, allocations: 0 / 0.7844 GB, free: 1.637 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001367/0.7133, allocations: 1.05 MB / 0.7855 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7134, allocations: 8.031 kB / 0.7855 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.7143, allocations: 194.8 kB / 0.7857 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.7151, allocations: 0.5285 MB / 0.7862 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.7155, allocations: 101.2 kB / 0.7863 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.7155, allocations: 56 kB / 0.7863 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.7167, allocations: 0.7789 MB / 0.7871 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.7167, allocations: 11.88 kB / 0.7871 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.7168, allocations: 24 kB / 0.7871 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.7168, allocations: 25 kB / 0.7871 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.7177, allocations: 467.3 kB / 0.7876 GB, free: 14.21 MB / 0.6075 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.003801/0.7215, allocations: 4.413 MB / 0.7919 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.7217, allocations: 98.36 kB / 0.792 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7218, allocations: 87.52 kB / 0.7921 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.722, allocations: 89.11 kB / 0.7922 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.722, allocations: 34.55 kB / 0.7922 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.722, allocations: 0 / 0.7922 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006662/0.7227, allocations: 244.8 kB / 0.7924 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.7228, allocations: 128.5 kB / 0.7925 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.7238, allocations: 0.8525 MB / 0.7934 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.7238, allocations: 29.7 kB / 0.7934 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.7241, allocations: 406.8 kB / 0.7938 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.7242, allocations: 35.55 kB / 0.7938 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.7243, allocations: 89.88 kB / 0.7939 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7244, allocations: 326 kB / 0.7942 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.7247, allocations: 108.7 kB / 0.7943 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.7252, allocations: 379.7 kB / 0.7947 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.7257, allocations: 449.8 kB / 0.7951 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7257, allocations: 0 / 0.7951 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009217/0.7267, allocations: 0.5079 MB / 0.7956 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7267, allocations: 9.562 kB / 0.7956 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7267, allocations: 11.94 kB / 0.7956 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7268, allocations: 8.812 kB / 0.7956 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.7271, allocations: 103.8 kB / 0.7957 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.7271, allocations: 15.94 kB / 0.7958 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.7278, allocations: 130.9 kB / 0.7959 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.7278, allocations: 20 kB / 0.7959 GB, free: 5.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.7281, allocations: 231.1 kB / 0.7961 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.7282, allocations: 75.06 kB / 0.7962 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.7283, allocations: 74.17 kB / 0.7963 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7283, allocations: 4 kB / 0.7963 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7283, allocations: 0 / 0.7963 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7283, allocations: 7.922 kB / 0.7963 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.7295, allocations: 1.117 MB / 0.7974 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7296, allocations: 4 kB / 0.7974 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.7296, allocations: 12 kB / 0.7974 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.7297, allocations: 4 kB / 0.7974 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.7297, allocations: 4.312 kB / 0.7974 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7297, allocations: 11.94 kB / 0.7974 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7297, allocations: 0 / 0.7974 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.73, allocations: 267.8 kB / 0.7977 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.7302, allocations: 176.1 kB / 0.7978 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.7303, allocations: 4 kB / 0.7978 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.7306, allocations: 23.97 kB / 0.7979 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.7306, allocations: 15.88 kB / 0.7979 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.7306, allocations: 4 kB / 0.7979 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007525/0.7314, allocations: 0.5966 MB / 0.7985 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7314, allocations: 0 / 0.7985 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005284/0.7319, allocations: 155.8 kB / 0.7986 GB, free: 2.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/0.7323, allocations: 187.4 kB / 0.7988 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.7329, allocations: 249.2 kB / 0.799 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7329, allocations: 0 / 0.799 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.7329, allocations: 55.78 kB / 0.7991 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7345, allocations: 388.3 kB / 0.7994 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.7359, allocations: 1.071 MB / 0.8005 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.7364, allocations: 0.937 MB / 0.8014 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004428/0.7368, allocations: 150.1 kB / 0.8015 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.7369, allocations: 51.44 kB / 0.8016 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.7369, allocations: 0 / 0.8016 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.01969/0.7566, allocations: 11.74 MB / 0.8131 GB, free: 3.574 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)