Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 100.1 kB / 16.4 MB, free: 6.461 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.001235/0.001235, allocations: 189.6 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.373/1.373, 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.8643/0.8643, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 59.53 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1607, allocations: 80.93 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6082/0.7689, allocations: 193.8 MB / 0.8546 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009605/0.7785, allocations: 5.141 MB / 0.8596 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.7803, allocations: 48.12 kB / 0.8597 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.7827, allocations: 0.8073 MB / 0.8605 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.79, allocations: 2.597 MB / 0.863 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.7931, allocations: 1.106 MB / 0.8641 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.797, allocations: 2.61 MB / 0.8666 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.7988, allocations: 0.8961 MB / 0.8675 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.8014, allocations: 1.113 MB / 0.8686 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.8033, allocations: 0.9534 MB / 0.8695 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.8037, allocations: 76 kB / 0.8696 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.8079, allocations: 1.781 MB / 0.8713 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.8086, allocations: 430.6 kB / 0.8717 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.8099, allocations: 0.641 MB / 0.8724 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.8148, allocations: 2.173 MB / 0.8745 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.8148, allocations: 3.938 kB / 0.8745 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8148, allocations: 4 kB / 0.8745 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.381e-05/0.8149, allocations: 0 / 0.8745 GB, free: 9.109 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00605/0.8209, allocations: 1.926 MB / 0.8764 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.821, allocations: 13.11 kB / 0.8764 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.825, allocations: 0.6614 MB / 0.877 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.8271, allocations: 0.9527 MB / 0.878 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.8272, allocations: 65.94 kB / 0.878 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.8274, allocations: 87.98 kB / 0.8781 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/0.8308, allocations: 1.474 MB / 0.8796 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.8309, allocations: 0 / 0.8796 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.831, allocations: 40 kB / 0.8796 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.8311, allocations: 45.98 kB / 0.8796 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/0.8352, allocations: 1.522 MB / 0.8811 GB, free: 2.133 MB / 0.6387 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.008364/0.8436, allocations: 5.468 MB / 0.8865 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/0.8472, allocations: 1.293 MB / 0.8877 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.8489, allocations: 0.6468 MB / 0.8884 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.8498, allocations: 0.5851 MB / 0.8889 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.8517, allocations: 0.7069 MB / 0.8896 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.918e-06/0.8517, allocations: 0 / 0.8896 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005641/0.8574, allocations: 1.878 MB / 0.8915 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.8575, allocations: 64.06 kB / 0.8915 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.8593, allocations: 1.239 MB / 0.8927 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.8594, allocations: 41.7 kB / 0.8928 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.8599, allocations: 0.5831 MB / 0.8933 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.8603, allocations: 276.1 kB / 0.8936 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.8606, allocations: 178.5 kB / 0.8938 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.8608, allocations: 341.9 kB / 0.8941 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.8624, allocations: 0.5405 MB / 0.8946 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.8643, allocations: 0.8217 MB / 0.8954 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.8676, allocations: 1.328 MB / 0.8967 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.8676, allocations: 4 kB / 0.8967 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004045/0.8717, allocations: 1.495 MB / 0.8982 GB, free: 15.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.8717, allocations: 8 kB / 0.8982 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.8717, allocations: 11.98 kB / 0.8982 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/0.8718, allocations: 15.94 kB / 0.8982 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.8732, allocations: 291.6 kB / 0.8985 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/0.8733, allocations: 15.94 kB / 0.8985 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8747, allocations: 200.6 kB / 0.8987 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.8749, allocations: 51.97 kB / 0.8988 GB, free: 15.39 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006341/0.8755, allocations: 337 kB / 0.8991 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.8759, allocations: 146.2 kB / 0.8992 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.8797, allocations: 1.405 MB / 0.9006 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.8798, allocations: 8 kB / 0.9006 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8798, allocations: 0 / 0.9006 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.8798, allocations: 3.984 kB / 0.9006 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006045/0.8859, allocations: 2.814 MB / 0.9034 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8859, allocations: 4 kB / 0.9034 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.8871, allocations: 228.2 kB / 0.9036 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/0.8872, allocations: 8 kB / 0.9036 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/0.8873, allocations: 23.98 kB / 0.9036 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.8873, allocations: 7.984 kB / 0.9036 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.8873, allocations: 7.938 kB / 0.9036 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.8927, allocations: 2.252 MB / 0.9058 GB, free: 7.977 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.8934, allocations: 291.3 kB / 0.9061 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.8937, allocations: 19.98 kB / 0.9061 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8949, allocations: 111.9 kB / 0.9062 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.8951, allocations: 68.36 kB / 0.9063 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/0.8952, allocations: 39.97 kB / 0.9063 GB, free: 7.438 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001226/0.8964, allocations: 0.8483 MB / 0.9072 GB, free: 6.586 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8964, allocations: 0 / 0.9072 GB, free: 6.586 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001197/0.8977, allocations: 315.7 kB / 0.9075 GB, free: 6.277 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001352/0.899, allocations: 0.5359 MB / 0.908 GB, free: 5.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003648/0.9027, allocations: 1.29 MB / 0.9092 GB, free: 4.621 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9027, allocations: 0 / 0.9092 GB, free: 4.621 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.9044, allocations: 0.6365 MB / 0.9099 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.9073, allocations: 0.5994 MB / 0.9104 GB, free: 3.395 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.913, allocations: 2.611 MB / 0.913 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/0.9139, allocations: 1.178 MB / 0.9141 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006296/0.9146, allocations: 123.4 kB / 0.9143 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.9146, allocations: 0 / 0.9143 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of Templates: time 0.03313/0.9477, allocations: 20.67 MB / 0.9344 GB, free: 10.82 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)