Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001631/0.001631, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8605/0.8605, allocations: 135.2 MB / 426.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.42 kB / 0.5864 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1752, allocations: 80.94 MB / 0.6654 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03422/0.2094, allocations: 29.38 MB / 0.6941 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.2211, allocations: 6.884 MB / 0.7009 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2225, allocations: 51.62 kB / 0.7009 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.2244, allocations: 0.7031 MB / 0.7016 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.2289, allocations: 1.516 MB / 0.7031 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.2322, allocations: 1.15 MB / 0.7042 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004216/0.2364, allocations: 2.485 MB / 0.7066 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.2378, allocations: 0.685 MB / 0.7073 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.2401, allocations: 1.043 MB / 0.7083 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.2414, allocations: 0.8247 MB / 0.7091 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.2415, allocations: 68 kB / 0.7092 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.2436, allocations: 0.8227 MB / 0.71 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.244, allocations: 286.8 kB / 0.7103 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.2447, allocations: 0.5514 MB / 0.7108 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.2475, allocations: 1.638 MB / 0.7124 GB, free: 5.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2475, allocations: 0 / 0.7124 GB, free: 5.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2475, allocations: 3.938 kB / 0.7124 GB, free: 5.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.2475, allocations: 0 / 0.7124 GB, free: 5.43 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002902/0.2504, allocations: 1.608 MB / 0.714 GB, free: 3.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2505, allocations: 9.109 kB / 0.714 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.254, allocations: 0.597 MB / 0.7146 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.2556, allocations: 0.8838 MB / 0.7154 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.2557, allocations: 61.94 kB / 0.7155 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2559, allocations: 76 kB / 0.7156 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.2585, allocations: 1.092 MB / 0.7166 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2585, allocations: 3.938 kB / 0.7166 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.2586, allocations: 39.98 kB / 0.7167 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2586, allocations: 20 kB / 0.7167 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/0.2619, allocations: 0.9923 MB / 0.7177 GB, free: 15.86 MB / 0.5606 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.006495/0.2684, allocations: 4.955 MB / 0.7225 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.2715, allocations: 0.8723 MB / 0.7233 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.273, allocations: 462.2 kB / 0.7238 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.2746, allocations: 1.592 MB / 0.7253 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.2763, allocations: 0.5806 MB / 0.7259 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.996e-06/0.2764, allocations: 0 / 0.7259 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005144/0.2815, allocations: 1.486 MB / 0.7274 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.2816, allocations: 59.97 kB / 0.7274 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.2831, allocations: 1.116 MB / 0.7285 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.2832, allocations: 37.7 kB / 0.7285 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.2837, allocations: 0.552 MB / 0.7291 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.2839, allocations: 218.2 kB / 0.7293 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.2842, allocations: 174.5 kB / 0.7295 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2844, allocations: 349.9 kB / 0.7298 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.2859, allocations: 445.6 kB / 0.7302 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.2877, allocations: 0.7088 MB / 0.7309 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.291, allocations: 1.12 MB / 0.732 GB, free: 232 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.291, allocations: 0 / 0.732 GB, free: 232 kB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003989/0.295, allocations: 1.275 MB / 0.7332 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.295, allocations: 8 kB / 0.7333 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.295, allocations: 8 kB / 0.7333 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.2951, allocations: 12 kB / 0.7333 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.2963, allocations: 271.6 kB / 0.7335 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.2963, allocations: 16 kB / 0.7335 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.2977, allocations: 183.2 kB / 0.7337 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.2978, allocations: 43.97 kB / 0.7338 GB, free: 14.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0006272/0.2984, allocations: 299.6 kB / 0.734 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.2986, allocations: 127.2 kB / 0.7342 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.3027, allocations: 1.367 MB / 0.7355 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.3027, allocations: 12 kB / 0.7355 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3027, allocations: 0 / 0.7355 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3027, allocations: 3.984 kB / 0.7355 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.3082, allocations: 2.366 MB / 0.7378 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.3082, allocations: 4 kB / 0.7378 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.3092, allocations: 187.9 kB / 0.738 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.3092, allocations: 4 kB / 0.738 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.3093, allocations: 31.91 kB / 0.738 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.3093, allocations: 4 kB / 0.7381 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3093, allocations: 0 / 0.7381 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.3148, allocations: 1.982 MB / 0.74 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/0.3154, allocations: 284 kB / 0.7403 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.3156, allocations: 23.92 kB / 0.7403 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.3165, allocations: 103.9 kB / 0.7404 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3166, allocations: 48.5 kB / 0.7404 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.3167, allocations: 35.97 kB / 0.7405 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001066/0.3178, allocations: 0.7638 MB / 0.7412 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 0.7412 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001148/0.3189, allocations: 347.3 kB / 0.7415 GB, free: 6.297 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.002103/0.321, allocations: 0.6577 MB / 0.7422 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003585/0.3246, allocations: 1.083 MB / 0.7432 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3246, allocations: 0 / 0.7432 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.3263, allocations: 0.5501 MB / 0.7438 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.3285, allocations: 460.4 kB / 0.7442 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.3338, allocations: 2.415 MB / 0.7466 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.3346, allocations: 1.1 MB / 0.7476 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/0.3351, allocations: 119.4 kB / 0.7478 GB, free: 8 kB / 0.5762 GB Notification: Performance of SimCode: time 1.412e-06/0.3351, allocations: 4 kB / 0.7478 GB, free: 4 kB / 0.5762 GB Notification: Performance of Templates: time 0.3695/0.7046, allocations: 19.21 MB / 0.7665 GB, free: 72.15 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)