Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004894/0.004894, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001178/0.001178, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 132.2 MB / 422.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 59.91 kB / 0.5814 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4408, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.224/0.6648, allocations: 193.8 MB / 0.849 GB, free: 3.785 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008876/0.6737, allocations: 5.146 MB / 0.854 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.6752, allocations: 47.69 kB / 0.854 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.6772, allocations: 0.8276 MB / 0.8548 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007406/0.6847, allocations: 2.696 MB / 0.8575 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.6877, allocations: 1.112 MB / 0.8586 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003885/0.6916, allocations: 2.691 MB / 0.8612 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.6934, allocations: 0.9502 MB / 0.8621 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.6959, allocations: 1.14 MB / 0.8632 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.6979, allocations: 0.9885 MB / 0.8642 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.6983, allocations: 88 kB / 0.8643 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.7022, allocations: 1.804 MB / 0.866 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.7028, allocations: 446.6 kB / 0.8665 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.7041, allocations: 0.6682 MB / 0.8671 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4749/1.179, allocations: 2.221 MB / 0.8693 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.179, allocations: 2.297 kB / 0.8693 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.265e-06/1.179, allocations: 0.9688 kB / 0.8693 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.179, allocations: 0 / 0.8693 GB, free: 9.836 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005954/1.185, allocations: 1.958 MB / 0.8712 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.185, allocations: 9.531 kB / 0.8712 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/1.191, allocations: 0.8984 MB / 0.8721 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.193, allocations: 0.9691 MB / 0.873 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/1.193, allocations: 67.47 kB / 0.8731 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.193, allocations: 98.98 kB / 0.8732 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/1.198, allocations: 1.582 MB / 0.8747 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.198, allocations: 0.875 kB / 0.8747 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/1.198, allocations: 35.5 kB / 0.8748 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-05/1.198, allocations: 48.61 kB / 0.8748 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005897/1.204, allocations: 1.849 MB / 0.8766 GB, free: 8.344 MB / 0.6856 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.009124/1.213, allocations: 4.74 MB / 0.8813 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/1.218, allocations: 1.561 MB / 0.8828 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/1.22, allocations: 0.8545 MB / 0.8836 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.222, allocations: 0.9398 MB / 0.8845 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002633/1.224, allocations: 0.9158 MB / 0.8854 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 3.547e-06/1.224, allocations: 0.9688 kB / 0.8854 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.008664/1.233, allocations: 2.45 MB / 0.8878 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.233, allocations: 63.28 kB / 0.8879 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/1.235, allocations: 1.196 MB / 0.8891 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/1.235, allocations: 47.42 kB / 0.8891 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/1.236, allocations: 0.5401 MB / 0.8896 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/1.236, allocations: 330.9 kB / 0.8899 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/1.236, allocations: 188.1 kB / 0.8901 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/1.236, allocations: 341.3 kB / 0.8904 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.239, allocations: 0.6962 MB / 0.8911 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/1.241, allocations: 0.9098 MB / 0.892 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004618/1.246, allocations: 1.557 MB / 0.8935 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.246, allocations: 0 / 0.8935 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005462/1.251, allocations: 1.781 MB / 0.8953 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.251, allocations: 13.56 kB / 0.8953 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.251, allocations: 4.281 kB / 0.8953 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/1.251, allocations: 13.03 kB / 0.8953 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.253, allocations: 341.8 kB / 0.8956 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.253, allocations: 14 kB / 0.8956 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/1.255, allocations: 229.7 kB / 0.8959 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.255, allocations: 60.11 kB / 0.8959 GB, free: 3.844 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006741/1.256, allocations: 335.2 kB / 0.8962 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.256, allocations: 137.4 kB / 0.8964 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/1.261, allocations: 1.803 MB / 0.8981 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/1.261, allocations: 11.3 kB / 0.8981 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.261, allocations: 0 / 0.8981 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.261, allocations: 5.578 kB / 0.8981 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007164/1.268, allocations: 3.318 MB / 0.9014 GB, free: 19.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.268, allocations: 5.5 kB / 0.9014 GB, free: 19.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.27, allocations: 295.8 kB / 0.9017 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.27, allocations: 6.031 kB / 0.9017 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/1.27, allocations: 35.95 kB / 0.9017 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.27, allocations: 9.875 kB / 0.9017 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.27, allocations: 7.406 kB / 0.9017 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006993/1.277, allocations: 2.848 MB / 0.9045 GB, free: 18.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/1.278, allocations: 321.5 kB / 0.9048 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.278, allocations: 22.31 kB / 0.9048 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.279, allocations: 158.6 kB / 0.905 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.28, allocations: 73.58 kB / 0.9051 GB, free: 18.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/1.28, allocations: 38.14 kB / 0.9051 GB, free: 18.38 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001064/1.281, allocations: 0.8341 MB / 0.9059 GB, free: 18.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.281, allocations: 0 / 0.9059 GB, free: 18.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001148/1.282, allocations: 339.3 kB / 0.9062 GB, free: 18.25 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001282/1.283, allocations: 0.5365 MB / 0.9068 GB, free: 18.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004641/1.288, allocations: 1.633 MB / 0.9084 GB, free: 18.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.288, allocations: 0 / 0.9084 GB, free: 18.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.29, allocations: 0.8384 MB / 0.9092 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.293, allocations: 0.6242 MB / 0.9098 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/1.298, allocations: 2.973 MB / 0.9127 GB, free: 16.72 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/1.299, allocations: 1.187 MB / 0.9138 GB, free: 16 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001273/1.3, allocations: 357.7 kB / 0.9142 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/1.301, allocations: 116.9 kB / 0.9143 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/1.301, allocations: 4 kB / 0.9143 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.0404/1.341, allocations: 23.92 MB / 0.9377 GB, free: 6.992 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)