Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001568/0.001568, allocations: 108 kB / 15.6 MB, free: 132 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.001832/0.001832, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9877/0.9877, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.41 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1823, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5256/0.708, allocations: 187.1 MB / 0.767 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.7248, allocations: 13.01 MB / 0.7798 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.7265, allocations: 31.81 kB / 0.7798 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.7281, allocations: 409.3 kB / 0.7802 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.7307, allocations: 0.9214 MB / 0.7811 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.7328, allocations: 0.7069 MB / 0.7818 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.7348, allocations: 1.494 MB / 0.7832 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.7358, allocations: 0.6695 MB / 0.7839 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.7398, allocations: 1.704 MB / 0.7855 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.7412, allocations: 0.495 MB / 0.786 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.7413, allocations: 52 kB / 0.7861 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.7431, allocations: 0.8731 MB / 0.7869 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.7434, allocations: 283.2 kB / 0.7872 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.7438, allocations: 374.1 kB / 0.7876 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.7455, allocations: 1.164 MB / 0.7887 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7455, allocations: 4 kB / 0.7887 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7455, allocations: 3.938 kB / 0.7887 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.7455, allocations: 4 kB / 0.7887 GB, free: 11.61 MB / 0.6075 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.001462/0.747, allocations: 1.042 MB / 0.7897 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.747, allocations: 8.031 kB / 0.7897 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.7479, allocations: 198.8 kB / 0.7899 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.7487, allocations: 0.5246 MB / 0.7904 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.7491, allocations: 97.25 kB / 0.7905 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.7491, allocations: 59.98 kB / 0.7906 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.7503, allocations: 0.7858 MB / 0.7913 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.7503, allocations: 3.938 kB / 0.7913 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.7504, allocations: 27.94 kB / 0.7914 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.7504, allocations: 29 kB / 0.7914 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.7513, allocations: 475.2 kB / 0.7919 GB, free: 8.191 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.003729/0.7551, allocations: 4.398 MB / 0.7962 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.7552, allocations: 98.48 kB / 0.7962 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.7553, allocations: 83.39 kB / 0.7963 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.7555, allocations: 93.09 kB / 0.7964 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7555, allocations: 34.56 kB / 0.7964 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.7556, allocations: 0 / 0.7964 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006394/0.7562, allocations: 248.5 kB / 0.7967 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7563, allocations: 132.5 kB / 0.7968 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.7573, allocations: 0.8488 MB / 0.7976 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.7574, allocations: 33.7 kB / 0.7977 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.7577, allocations: 402.8 kB / 0.7981 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.7577, allocations: 43.39 kB / 0.7981 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.7579, allocations: 93.88 kB / 0.7982 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.758, allocations: 318 kB / 0.7985 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.7583, allocations: 120.7 kB / 0.7986 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.7588, allocations: 362 kB / 0.7989 GB, free: 440 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.7593, allocations: 445.5 kB / 0.7994 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7594, allocations: 8 kB / 0.7994 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009569/0.7603, allocations: 0.4961 MB / 0.7999 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.7604, allocations: 8 kB / 0.7999 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.7604, allocations: 12.78 kB / 0.7999 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.7604, allocations: 8 kB / 0.7999 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.7608, allocations: 103.8 kB / 0.8 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.7608, allocations: 11.94 kB / 0.8 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7615, allocations: 131.8 kB / 0.8001 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.7616, allocations: 24 kB / 0.8002 GB, free: 15.08 MB / 0.6231 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.0003105/0.7619, allocations: 225.6 kB / 0.8004 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.7621, allocations: 79.14 kB / 0.8004 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.7622, allocations: 70.19 kB / 0.8005 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7622, allocations: 3.984 kB / 0.8005 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7622, allocations: 0 / 0.8005 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7622, allocations: 7.938 kB / 0.8005 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.7637, allocations: 1.116 MB / 0.8016 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7638, allocations: 7.938 kB / 0.8016 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.7639, allocations: 19.94 kB / 0.8016 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.7639, allocations: 0 / 0.8016 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.7639, allocations: 4.312 kB / 0.8016 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.7639, allocations: 11.98 kB / 0.8017 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7639, allocations: 7.938 kB / 0.8017 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.7643, allocations: 263.7 kB / 0.8019 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.7646, allocations: 172.1 kB / 0.8021 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7647, allocations: 4.469 kB / 0.8021 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.765, allocations: 27.97 kB / 0.8021 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.7651, allocations: 7.938 kB / 0.8021 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.7651, allocations: 8 kB / 0.8021 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008858/0.766, allocations: 0.5927 MB / 0.8027 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.766, allocations: 0 / 0.8027 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006482/0.7666, allocations: 159.8 kB / 0.8029 GB, free: 12.16 MB / 0.6231 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.0004873/0.7671, allocations: 193 kB / 0.803 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.7678, allocations: 245.2 kB / 0.8033 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7678, allocations: 96 / 0.8033 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.7679, allocations: 59.72 kB / 0.8033 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.7696, allocations: 381.1 kB / 0.8037 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.7714, allocations: 1.075 MB / 0.8047 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.7722, allocations: 0.937 MB / 0.8057 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006005/0.7728, allocations: 150.1 kB / 0.8058 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.7729, allocations: 47.44 kB / 0.8058 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.7729, allocations: 0 / 0.8058 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of Templates: time 0.02233/0.7952, allocations: 11.73 MB / 0.8173 GB, free: 13.54 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)