Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001874/0.001874, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8147/0.8147, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.44 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1557, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03065/0.1864, allocations: 26.26 MB / 0.6909 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1982, allocations: 7.126 MB / 0.6979 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.2, allocations: 39.75 kB / 0.6979 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.2014, allocations: 381.5 kB / 0.6983 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.2051, allocations: 1.104 MB / 0.6994 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.2081, allocations: 0.9505 MB / 0.7003 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003552/0.2117, allocations: 2.095 MB / 0.7024 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.2129, allocations: 0.6135 MB / 0.7029 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.2157, allocations: 0.7431 MB / 0.7037 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.2171, allocations: 0.5444 MB / 0.7042 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.2173, allocations: 56 kB / 0.7043 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.2193, allocations: 0.811 MB / 0.7051 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.2197, allocations: 171.4 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.2203, allocations: 390.1 kB / 0.7056 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.2229, allocations: 1.204 MB / 0.7068 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.223, allocations: 4 kB / 0.7068 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.223, allocations: 0 / 0.7068 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.37e-05/0.223, allocations: 0 / 0.7068 GB, free: 11.18 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001998/0.225, allocations: 1.059 MB / 0.7078 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2251, allocations: 9.109 kB / 0.7078 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.2255, allocations: 91.98 kB / 0.7079 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.2269, allocations: 0.7405 MB / 0.7086 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2269, allocations: 37 kB / 0.7087 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.227, allocations: 40 kB / 0.7087 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.2279, allocations: 0.5001 MB / 0.7092 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2279, allocations: 7.906 kB / 0.7092 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.228, allocations: 20 kB / 0.7092 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.228, allocations: 12 kB / 0.7092 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.2286, allocations: 319.7 kB / 0.7095 GB, free: 8.227 MB / 0.545 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.003178/0.2317, allocations: 2.756 MB / 0.7122 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.2321, allocations: 202.5 kB / 0.7124 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2323, allocations: 97.19 kB / 0.7125 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.2326, allocations: 344.3 kB / 0.7128 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2327, allocations: 34.56 kB / 0.7129 GB, free: 4.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 2.354e-06/0.2327, allocations: 7.938 kB / 0.7129 GB, free: 4.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006508/0.2334, allocations: 301.8 kB / 0.7132 GB, free: 4.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2334, allocations: 55.41 kB / 0.7132 GB, free: 4.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.2341, allocations: 0.5263 MB / 0.7137 GB, free: 3.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.2341, allocations: 29.7 kB / 0.7138 GB, free: 3.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2344, allocations: 347.3 kB / 0.7141 GB, free: 3.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.2345, allocations: 86.83 kB / 0.7142 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2346, allocations: 77.59 kB / 0.7142 GB, free: 3.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2348, allocations: 366.8 kB / 0.7146 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.235, allocations: 92.77 kB / 0.7147 GB, free: 2.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.2352, allocations: 241.8 kB / 0.7149 GB, free: 2.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.2356, allocations: 332 kB / 0.7152 GB, free: 1.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2357, allocations: 4 kB / 0.7152 GB, free: 1.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000654/0.2363, allocations: 388.5 kB / 0.7156 GB, free: 1.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2363, allocations: 4 kB / 0.7156 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2364, allocations: 4 kB / 0.7156 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.2364, allocations: 8.562 kB / 0.7156 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.2367, allocations: 83.84 kB / 0.7157 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.2367, allocations: 11.98 kB / 0.7157 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.2371, allocations: 35.62 kB / 0.7157 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.2371, allocations: 23.94 kB / 0.7158 GB, free: 1.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000343/0.2375, allocations: 244.3 kB / 0.716 GB, free: 1.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002528/0.2377, allocations: 237.9 kB / 0.7162 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003814/0.2381, allocations: 332 kB / 0.7165 GB, free: 400 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.2381, allocations: 0 / 0.7165 GB, free: 400 kB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005992/0.2387, allocations: 388.9 kB / 0.7169 GB, free: 4 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2388, allocations: 4.062 kB / 0.7169 GB, free: 0 / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2388, allocations: 8.141 kB / 0.7169 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.2388, allocations: 15.88 kB / 0.7169 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.239, allocations: 75.91 kB / 0.717 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2391, allocations: 19.91 kB / 0.717 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.2394, allocations: 31.69 kB / 0.7171 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2395, allocations: 16 kB / 0.7171 GB, free: 15.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001528/0.2396, allocations: 205.5 kB / 0.7173 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.2398, allocations: 59.28 kB / 0.7173 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.2403, allocations: 286.5 kB / 0.7176 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.2403, allocations: 4 kB / 0.7176 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2403, allocations: 7.938 kB / 0.7176 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003528/0.2407, allocations: 384.6 kB / 0.718 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.2423, allocations: 1.055 MB / 0.719 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2423, allocations: 0 / 0.719 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.2425, allocations: 51.91 kB / 0.7191 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2425, allocations: 4 kB / 0.7191 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.2426, allocations: 12.28 kB / 0.7191 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2426, allocations: 4 kB / 0.7191 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2426, allocations: 7.938 kB / 0.7191 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.2433, allocations: 0.5232 MB / 0.7196 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.2435, allocations: 164.3 kB / 0.7198 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.2436, allocations: 11.98 kB / 0.7198 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.244, allocations: 15.98 kB / 0.7198 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.244, allocations: 27.86 kB / 0.7198 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.2441, allocations: 19.98 kB / 0.7198 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005008/0.2446, allocations: 411.1 kB / 0.7202 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2446, allocations: 0 / 0.7202 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00111/0.2457, allocations: 347.3 kB / 0.7206 GB, free: 12.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000759/0.2465, allocations: 310.4 kB / 0.7208 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007106/0.2472, allocations: 411.9 kB / 0.7212 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2472, allocations: 0 / 0.7212 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.2474, allocations: 103.8 kB / 0.7213 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.2492, allocations: 380 kB / 0.7217 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.2511, allocations: 1.102 MB / 0.7228 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.2516, allocations: 0.9019 MB / 0.7237 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2517, allocations: 59.42 kB / 0.7237 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2518, allocations: 0 / 0.7237 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of Templates: time 0.01811/0.2699, allocations: 10.9 MB / 0.7344 GB, free: 13.91 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)