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.001705/0.001705, allocations: 104.3 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.001901/0.001901, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.61 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2338, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06075/0.2946, allocations: 29.34 MB / 0.694 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.313, allocations: 6.864 MB / 0.7007 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.3153, allocations: 51.62 kB / 0.7007 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.3185, allocations: 0.6875 MB / 0.7014 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.3255, allocations: 1.454 MB / 0.7028 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00579/0.3314, allocations: 1.151 MB / 0.704 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00624/0.3376, allocations: 2.477 MB / 0.7064 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.34, allocations: 0.7981 MB / 0.7072 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.3437, allocations: 1.039 MB / 0.7082 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.3461, allocations: 0.8247 MB / 0.709 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.3465, allocations: 68 kB / 0.709 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.3502, allocations: 0.8149 MB / 0.7098 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006411/0.3509, allocations: 275 kB / 0.7101 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3524, allocations: 0.5592 MB / 0.7106 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.357, allocations: 1.628 MB / 0.7122 GB, free: 5.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.3571, allocations: 0 / 0.7122 GB, free: 5.566 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3571, allocations: 3.938 kB / 0.7122 GB, free: 5.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.701e-05/0.3571, allocations: 4 kB / 0.7122 GB, free: 5.559 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.005237/0.3624, allocations: 1.566 MB / 0.7138 GB, free: 3.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.3625, allocations: 13.11 kB / 0.7138 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/0.3689, allocations: 0.5845 MB / 0.7143 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.372, allocations: 0.8792 MB / 0.7152 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3722, allocations: 58 kB / 0.7153 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.3725, allocations: 72 kB / 0.7153 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004964/0.3775, allocations: 1.092 MB / 0.7164 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.3776, allocations: 7.938 kB / 0.7164 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.3778, allocations: 32 kB / 0.7164 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.3778, allocations: 16 kB / 0.7165 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006064/0.3839, allocations: 1.004 MB / 0.7174 GB, free: 44 kB / 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.01001/0.3939, allocations: 4.946 MB / 0.7223 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.3968, allocations: 0.9144 MB / 0.7232 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.3982, allocations: 487.1 kB / 0.7236 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/0.3997, allocations: 1.587 MB / 0.7252 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.4014, allocations: 0.5729 MB / 0.7257 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/0.4014, allocations: 0 / 0.7257 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004685/0.4061, allocations: 1.485 MB / 0.7272 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4061, allocations: 59.97 kB / 0.7272 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.4077, allocations: 1.108 MB / 0.7283 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.4078, allocations: 41.7 kB / 0.7284 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.4083, allocations: 0.5511 MB / 0.7289 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.4086, allocations: 205.2 kB / 0.7291 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.4089, allocations: 170.4 kB / 0.7293 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.409, allocations: 334 kB / 0.7296 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4105, allocations: 453.6 kB / 0.73 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.4121, allocations: 0.7205 MB / 0.7307 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.415, allocations: 1.12 MB / 0.7318 GB, free: 396 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.415, allocations: 0 / 0.7318 GB, free: 396 kB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003645/0.4187, allocations: 1.27 MB / 0.733 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4187, allocations: 8 kB / 0.7331 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4188, allocations: 8 kB / 0.7331 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.4188, allocations: 12 kB / 0.7331 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.42, allocations: 276.2 kB / 0.7333 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.4201, allocations: 12 kB / 0.7333 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4213, allocations: 186.9 kB / 0.7335 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4215, allocations: 51.95 kB / 0.7336 GB, free: 14.57 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.0005/0.422, allocations: 295.7 kB / 0.7339 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.4222, allocations: 118.5 kB / 0.734 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.426, allocations: 1.359 MB / 0.7353 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.426, allocations: 11.98 kB / 0.7353 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4261, allocations: 0 / 0.7353 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4261, allocations: 3.984 kB / 0.7353 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/0.4312, allocations: 2.362 MB / 0.7376 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4312, allocations: 4 kB / 0.7376 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4322, allocations: 183.9 kB / 0.7378 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/0.4323, allocations: 4 kB / 0.7378 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.4324, allocations: 35.97 kB / 0.7378 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.4324, allocations: 7.938 kB / 0.7378 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4324, allocations: 0 / 0.7378 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/0.4375, allocations: 1.973 MB / 0.7398 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/0.4381, allocations: 271.4 kB / 0.74 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.4383, allocations: 23.98 kB / 0.7401 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.4394, allocations: 103.8 kB / 0.7402 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.4395, allocations: 52.44 kB / 0.7402 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-05/0.4396, allocations: 36.06 kB / 0.7402 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001099/0.4407, allocations: 0.7677 MB / 0.741 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4407, allocations: 0 / 0.741 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00119/0.4419, allocations: 351.5 kB / 0.7413 GB, free: 6.473 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.001672/0.4436, allocations: 0.6637 MB / 0.742 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.4469, allocations: 1.107 MB / 0.743 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4469, allocations: 0 / 0.743 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.4486, allocations: 0.5814 MB / 0.7436 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.4507, allocations: 457 kB / 0.7441 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.4563, allocations: 2.375 MB / 0.7464 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/0.4572, allocations: 1.1 MB / 0.7474 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.4577, allocations: 119.4 kB / 0.7476 GB, free: 172 kB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.4577, allocations: 0 / 0.7476 GB, free: 172 kB / 0.5762 GB Notification: Performance of Templates: time 0.3604/0.8182, allocations: 19.3 MB / 0.7664 GB, free: 72.29 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)