Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006733/0.006733, allocations: 102.8 kB / 15.74 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.001234/0.001234, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.5857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4439, allocations: 80.92 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2252/0.6691, allocations: 193.8 MB / 0.8539 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008987/0.6782, allocations: 5.142 MB / 0.859 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.6794, allocations: 47.69 kB / 0.859 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.6813, allocations: 0.8158 MB / 0.8598 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.6882, allocations: 2.602 MB / 0.8623 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.6912, allocations: 1.11 MB / 0.8634 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.6949, allocations: 2.679 MB / 0.866 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.6964, allocations: 0.9523 MB / 0.867 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.6986, allocations: 1.105 MB / 0.8681 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4661/1.165, allocations: 0.9799 MB / 0.869 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/1.165, allocations: 86.66 kB / 0.8691 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/1.17, allocations: 1.789 MB / 0.8708 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009337/1.171, allocations: 450.3 kB / 0.8713 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/1.173, allocations: 0.6651 MB / 0.8719 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005516/1.178, allocations: 2.238 MB / 0.8741 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.178, allocations: 0 / 0.8741 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/1.178, allocations: 1.781 kB / 0.8741 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.956e-05/1.178, allocations: 0 / 0.8741 GB, free: 5.539 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.005709/1.184, allocations: 2.012 MB / 0.8761 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.184, allocations: 10.5 kB / 0.8761 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/1.19, allocations: 0.9039 MB / 0.877 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/1.192, allocations: 0.9764 MB / 0.8779 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/1.192, allocations: 71.56 kB / 0.878 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/1.192, allocations: 93.34 kB / 0.8781 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/1.197, allocations: 1.579 MB / 0.8796 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.197, allocations: 4.594 kB / 0.8796 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.197, allocations: 38.91 kB / 0.8797 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.758e-05/1.197, allocations: 48.2 kB / 0.8797 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00543/1.203, allocations: 1.85 MB / 0.8815 GB, free: 3.934 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.008343/1.211, allocations: 4.741 MB / 0.8861 GB, free: 18.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/1.216, allocations: 1.568 MB / 0.8877 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002482/1.218, allocations: 0.8552 MB / 0.8885 GB, free: 18.03 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.22, allocations: 0.9445 MB / 0.8894 GB, free: 17.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/1.222, allocations: 0.9132 MB / 0.8903 GB, free: 17.04 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 3.677e-06/1.222, allocations: 2.016 kB / 0.8903 GB, free: 17.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008448/1.231, allocations: 2.459 MB / 0.8927 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/1.231, allocations: 62.44 kB / 0.8928 GB, free: 16.87 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/1.233, allocations: 1.196 MB / 0.894 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/1.233, allocations: 45.98 kB / 0.894 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/1.233, allocations: 0.5498 MB / 0.8945 GB, free: 16.51 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/1.234, allocations: 343 kB / 0.8949 GB, free: 16.29 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.234, allocations: 192.2 kB / 0.895 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.234, allocations: 341 kB / 0.8954 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/1.236, allocations: 0.7003 MB / 0.8961 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.239, allocations: 0.912 MB / 0.8969 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.243, allocations: 1.552 MB / 0.8985 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.243, allocations: 0.75 kB / 0.8985 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005026/1.248, allocations: 1.787 MB / 0.9002 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.248, allocations: 6.875 kB / 0.9002 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.248, allocations: 3.375 kB / 0.9002 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/1.248, allocations: 10.5 kB / 0.9002 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.25, allocations: 344.7 kB / 0.9006 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.25, allocations: 16 kB / 0.9006 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.251, allocations: 232 kB / 0.9008 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.252, allocations: 47.62 kB / 0.9008 GB, free: 15.38 MB / 0.7012 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.0007499/1.252, allocations: 343.3 kB / 0.9012 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.253, allocations: 143.2 kB / 0.9013 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/1.258, allocations: 1.806 MB / 0.9031 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.258, allocations: 8.469 kB / 0.9031 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.258, allocations: 4 kB / 0.9031 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.258, allocations: 6.984 kB / 0.9031 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/1.265, allocations: 3.331 MB / 0.9063 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.265, allocations: 5.125 kB / 0.9063 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.266, allocations: 292.7 kB / 0.9066 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.266, allocations: 7.375 kB / 0.9066 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/1.266, allocations: 33.72 kB / 0.9067 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/1.267, allocations: 8.688 kB / 0.9067 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.267, allocations: 4.406 kB / 0.9067 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/1.273, allocations: 2.856 MB / 0.9095 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/1.274, allocations: 326 kB / 0.9098 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.274, allocations: 26.7 kB / 0.9098 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.276, allocations: 157.5 kB / 0.9099 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.276, allocations: 75.06 kB / 0.91 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/1.276, allocations: 38.41 kB / 0.9101 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001048/1.277, allocations: 0.8308 MB / 0.9109 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.61e-07/1.277, allocations: 2.094 kB / 0.9109 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001112/1.278, allocations: 345.4 kB / 0.9112 GB, free: 13.76 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.001256/1.28, allocations: 0.5338 MB / 0.9117 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004684/1.284, allocations: 1.632 MB / 0.9133 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.284, allocations: 0 / 0.9133 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/1.287, allocations: 0.8395 MB / 0.9141 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.29, allocations: 0.6151 MB / 0.9147 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/1.295, allocations: 3.005 MB / 0.9177 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.296, allocations: 1.186 MB / 0.9188 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001559/1.298, allocations: 360.7 kB / 0.9192 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.298, allocations: 118.8 kB / 0.9193 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of SimCode: time 1.502e-06/1.298, allocations: 0 / 0.9193 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of Templates: time 0.04184/1.34, allocations: 23.94 MB / 0.9427 GB, free: 32 kB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)