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.004827/0.004827, allocations: 99.06 kB / 15.73 MB, free: 6.441 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.001104/0.001104, allocations: 199.3 kB / 16.67 MB, free: 6.352 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8039/0.8039, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.5814 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4793, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2422/0.7215, allocations: 193.8 MB / 0.849 GB, free: 3.695 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.7309, allocations: 5.138 MB / 0.854 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.7321, allocations: 47.69 kB / 0.854 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.7341, allocations: 0.8197 MB / 0.8548 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.7409, allocations: 2.598 MB / 0.8574 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.7438, allocations: 1.11 MB / 0.8585 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004415/0.7483, allocations: 2.691 MB / 0.8611 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.7498, allocations: 0.9407 MB / 0.862 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.7525, allocations: 1.109 MB / 0.8631 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.7545, allocations: 0.9884 MB / 0.8641 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.7547, allocations: 88 kB / 0.8641 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.7585, allocations: 1.785 MB / 0.8659 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.759, allocations: 450.6 kB / 0.8663 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.7598, allocations: 0.676 MB / 0.867 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4924/1.252, allocations: 2.221 MB / 0.8691 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.252, allocations: 0.6094 kB / 0.8691 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.333e-06/1.252, allocations: 0 / 0.8691 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.703e-05/1.252, allocations: 0.9062 kB / 0.8691 GB, free: 9.738 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.006133/1.258, allocations: 2.014 MB / 0.8711 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.259, allocations: 9.562 kB / 0.8711 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006389/1.265, allocations: 0.9019 MB / 0.872 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/1.268, allocations: 0.9807 MB / 0.873 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.268, allocations: 66.92 kB / 0.873 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/1.268, allocations: 94.73 kB / 0.8731 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/1.273, allocations: 1.584 MB / 0.8747 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.273, allocations: 3.906 kB / 0.8747 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.273, allocations: 34.27 kB / 0.8747 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/1.273, allocations: 50.11 kB / 0.8747 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/1.278, allocations: 1.847 MB / 0.8765 GB, free: 8.133 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.008845/1.287, allocations: 4.739 MB / 0.8812 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/1.292, allocations: 1.57 MB / 0.8827 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/1.295, allocations: 0.8521 MB / 0.8835 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.296, allocations: 0.942 MB / 0.8845 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002605/1.298, allocations: 0.9169 MB / 0.8854 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 3.737e-06/1.298, allocations: 1.031 kB / 0.8854 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.008034/1.307, allocations: 2.458 MB / 0.8878 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.307, allocations: 61.38 kB / 0.8878 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/1.308, allocations: 1.197 MB / 0.889 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/1.309, allocations: 47.23 kB / 0.889 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/1.309, allocations: 0.549 MB / 0.8896 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/1.309, allocations: 346.1 kB / 0.8899 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/1.31, allocations: 188.5 kB / 0.8901 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/1.31, allocations: 345.5 kB / 0.8904 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/1.312, allocations: 0.6983 MB / 0.8911 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/1.315, allocations: 0.9094 MB / 0.892 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004393/1.319, allocations: 1.553 MB / 0.8935 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/1.319, allocations: 4.469 kB / 0.8935 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005212/1.324, allocations: 1.786 MB / 0.8952 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.324, allocations: 11.09 kB / 0.8952 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.324, allocations: 4.844 kB / 0.8953 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.324, allocations: 8.188 kB / 0.8953 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.326, allocations: 338.5 kB / 0.8956 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.326, allocations: 17.5 kB / 0.8956 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.328, allocations: 239.2 kB / 0.8958 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.328, allocations: 48.31 kB / 0.8959 GB, free: 3.594 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.0006433/1.329, allocations: 343.6 kB / 0.8962 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/1.329, allocations: 142.1 kB / 0.8963 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/1.334, allocations: 1.799 MB / 0.8981 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.334, allocations: 12.73 kB / 0.8981 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.334, allocations: 4 kB / 0.8981 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.334, allocations: 3 kB / 0.8981 GB, free: 19.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/1.341, allocations: 3.326 MB / 0.9014 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.341, allocations: 7.938 kB / 0.9014 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.342, allocations: 292.5 kB / 0.9016 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.342, allocations: 7.344 kB / 0.9017 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/1.342, allocations: 36.27 kB / 0.9017 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.342, allocations: 8.125 kB / 0.9017 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.342, allocations: 8.531 kB / 0.9017 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/1.349, allocations: 2.85 MB / 0.9045 GB, free: 18.3 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006663/1.35, allocations: 330.2 kB / 0.9048 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.35, allocations: 25.45 kB / 0.9048 GB, free: 18.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.351, allocations: 149.8 kB / 0.905 GB, free: 18.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.352, allocations: 80.92 kB / 0.905 GB, free: 18.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/1.352, allocations: 42.25 kB / 0.9051 GB, free: 18.1 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009113/1.353, allocations: 0.83 MB / 0.9059 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.3e-07/1.353, allocations: 0 / 0.9059 GB, free: 17.99 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001014/1.354, allocations: 339.8 kB / 0.9062 GB, free: 17.97 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.001151/1.355, allocations: 0.5403 MB / 0.9067 GB, free: 17.79 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004463/1.359, allocations: 1.639 MB / 0.9083 GB, free: 17.74 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.359, allocations: 0 / 0.9083 GB, free: 17.74 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.362, allocations: 0.8309 MB / 0.9092 GB, free: 17.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.364, allocations: 0.6207 MB / 0.9098 GB, free: 17.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/1.37, allocations: 3 MB / 0.9127 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009503/1.371, allocations: 1.188 MB / 0.9139 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001547/1.373, allocations: 360.9 kB / 0.9142 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/1.373, allocations: 119.8 kB / 0.9143 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/1.373, allocations: 0 / 0.9143 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of Templates: time 0.03987/1.413, allocations: 23.93 MB / 0.9377 GB, free: 6.707 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)