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.001164/0.001164, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001165/0.001165, allocations: 187 kB / 17.34 MB, free: 5.754 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.199/1.199, 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.7342/0.7342, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 74.78 kB / 0.5863 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 80.92 MB / 0.6653 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4622/0.5872, allocations: 193.8 MB / 0.8546 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007893/0.5951, allocations: 5.125 MB / 0.8596 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5962, allocations: 47.44 kB / 0.8597 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.5978, allocations: 0.8058 MB / 0.8605 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.6032, allocations: 2.604 MB / 0.863 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.6055, allocations: 1.117 MB / 0.8641 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.6082, allocations: 2.679 MB / 0.8667 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6093, allocations: 0.9367 MB / 0.8676 GB, free: 156 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.6108, allocations: 1.117 MB / 0.8687 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.6119, allocations: 0.9885 MB / 0.8697 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.612, allocations: 84 kB / 0.8698 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.6149, allocations: 1.789 MB / 0.8715 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.6153, allocations: 450.6 kB / 0.8719 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.6159, allocations: 0.6682 MB / 0.8726 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.6184, allocations: 2.22 MB / 0.8748 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6185, allocations: 4 kB / 0.8748 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6185, allocations: 0 / 0.8748 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6185, allocations: 0 / 0.8748 GB, free: 8.82 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004484/0.623, allocations: 1.963 MB / 0.8767 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.623, allocations: 9.109 kB / 0.8767 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/0.6281, allocations: 0.8916 MB / 0.8776 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.6295, allocations: 0.9761 MB / 0.8785 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.6296, allocations: 66 kB / 0.8786 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.6297, allocations: 91.98 kB / 0.8787 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/0.6331, allocations: 1.583 MB / 0.8802 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6331, allocations: 0 / 0.8802 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6332, allocations: 39.98 kB / 0.8802 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.6333, allocations: 45.98 kB / 0.8803 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.6379, allocations: 1.858 MB / 0.8821 GB, free: 1.152 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.00637/0.6443, allocations: 4.732 MB / 0.8867 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.6483, allocations: 1.563 MB / 0.8882 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.6504, allocations: 0.8662 MB / 0.8891 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.6515, allocations: 0.9413 MB / 0.89 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.6538, allocations: 0.9066 MB / 0.8909 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 2.795e-06/0.6538, allocations: 4 kB / 0.8909 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007052/0.6609, allocations: 2.458 MB / 0.8933 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.661, allocations: 60.41 kB / 0.8934 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6621, allocations: 1.197 MB / 0.8945 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/0.6622, allocations: 41.7 kB / 0.8946 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.6626, allocations: 0.5447 MB / 0.8951 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.6628, allocations: 323.4 kB / 0.8954 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.6631, allocations: 194.5 kB / 0.8956 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6633, allocations: 341.9 kB / 0.8959 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.6653, allocations: 0.7005 MB / 0.8966 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.6674, allocations: 0.919 MB / 0.8975 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.6715, allocations: 1.55 MB / 0.899 GB, free: 15.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6715, allocations: 3.938 kB / 0.899 GB, free: 15.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004643/0.6761, allocations: 1.776 MB / 0.9008 GB, free: 13.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6762, allocations: 11.98 kB / 0.9008 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6762, allocations: 4.438 kB / 0.9008 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.6762, allocations: 12 kB / 0.9008 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.6778, allocations: 335.5 kB / 0.9011 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.6779, allocations: 11.94 kB / 0.9011 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.6793, allocations: 234.7 kB / 0.9013 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6794, allocations: 51.97 kB / 0.9014 GB, free: 12.77 MB / 0.67 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.0004779/0.6799, allocations: 340.5 kB / 0.9017 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6801, allocations: 134.3 kB / 0.9018 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/0.6849, allocations: 1.803 MB / 0.9036 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.685, allocations: 11.98 kB / 0.9036 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.685, allocations: 4 kB / 0.9036 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.685, allocations: 3.984 kB / 0.9036 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.6917, allocations: 3.319 MB / 0.9069 GB, free: 7.035 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6917, allocations: 4.5 kB / 0.9069 GB, free: 7.031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.6932, allocations: 299.5 kB / 0.9072 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/0.6933, allocations: 8 kB / 0.9072 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/0.6934, allocations: 31.97 kB / 0.9072 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.6934, allocations: 11.98 kB / 0.9072 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6934, allocations: 4 kB / 0.9072 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/0.7002, allocations: 2.851 MB / 0.91 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.7008, allocations: 319.2 kB / 0.9103 GB, free: 3.434 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.701, allocations: 28 kB / 0.9103 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7024, allocations: 155.8 kB / 0.9105 GB, free: 3.254 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.7025, allocations: 68.45 kB / 0.9105 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/0.7026, allocations: 43.97 kB / 0.9106 GB, free: 3.145 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001007/0.7036, allocations: 0.8275 MB / 0.9114 GB, free: 2.312 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7037, allocations: 0 / 0.9114 GB, free: 2.312 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009938/0.7047, allocations: 343.6 kB / 0.9117 GB, free: 1.977 MB / 0.67 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.001173/0.7058, allocations: 0.5363 MB / 0.9122 GB, free: 1.609 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004522/0.7104, allocations: 1.634 MB / 0.9138 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7104, allocations: 4 kB / 0.9138 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002243/0.7126, allocations: 0.8437 MB / 0.9147 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.7152, allocations: 0.6174 MB / 0.9153 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.7209, allocations: 3.042 MB / 0.9182 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.7216, allocations: 1.183 MB / 0.9194 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.7222, allocations: 131.3 kB / 0.9195 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.7222, allocations: 0 / 0.9195 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of Templates: time 0.02843/0.7507, allocations: 21.56 MB / 0.9406 GB, free: 4.602 MB / 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)