Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001211/0.001212, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.00919/0.00919, allocations: 170 kB / 16.27 MB, free: 6.324 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.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003421, allocations: 11.94 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4465, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2176/0.6642, allocations: 189 MB / 0.7682 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009737/0.674, allocations: 5.137 MB / 0.7733 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.6755, allocations: 47.62 kB / 0.7733 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.6775, allocations: 0.7038 MB / 0.774 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006399/0.684, allocations: 2.448 MB / 0.7764 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.6867, allocations: 1.015 MB / 0.7774 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.6913, allocations: 3.541 MB / 0.7808 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.6929, allocations: 0.8072 MB / 0.7816 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.6952, allocations: 0.9841 MB / 0.7826 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6969, allocations: 0.9689 MB / 0.7835 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.6972, allocations: 44 kB / 0.7836 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.7023, allocations: 2.065 MB / 0.7856 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.7029, allocations: 402.6 kB / 0.786 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.704, allocations: 0.6309 MB / 0.7866 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.7083, allocations: 2.196 MB / 0.7887 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7083, allocations: 0 / 0.7887 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7083, allocations: 4 kB / 0.7887 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.347e-05/0.7084, allocations: 0 / 0.7887 GB, free: 13.74 MB / 0.6231 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.005364/0.7138, allocations: 1.673 MB / 0.7904 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7138, allocations: 11.97 kB / 0.7904 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/0.7181, allocations: 0.7045 MB / 0.7911 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.7197, allocations: 0.8825 MB / 0.7919 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.7198, allocations: 70 kB / 0.792 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.7201, allocations: 84 kB / 0.7921 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.7234, allocations: 1.489 MB / 0.7935 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.7234, allocations: 4 kB / 0.7935 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.7236, allocations: 32 kB / 0.7936 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.7236, allocations: 53.92 kB / 0.7936 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/0.7279, allocations: 1.542 MB / 0.7951 GB, free: 6.996 MB / 0.6231 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.007381/0.7353, allocations: 5.487 MB / 0.8005 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.739, allocations: 1.32 MB / 0.8018 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.7408, allocations: 0.6792 MB / 0.8024 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/0.7416, allocations: 0.5968 MB / 0.803 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.7436, allocations: 0.7224 MB / 0.8037 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/0.7436, allocations: 0 / 0.8037 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005847/0.7494, allocations: 1.901 MB / 0.8056 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.7495, allocations: 68.05 kB / 0.8056 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7512, allocations: 1.242 MB / 0.8069 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.7513, allocations: 45.7 kB / 0.8069 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.7518, allocations: 0.5753 MB / 0.8075 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.7521, allocations: 276.1 kB / 0.8077 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.7522, allocations: 77.69 kB / 0.8078 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7523, allocations: 345.9 kB / 0.8081 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.754, allocations: 0.5484 MB / 0.8087 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.7559, allocations: 0.833 MB / 0.8095 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.7593, allocations: 1.356 MB / 0.8108 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.7593, allocations: 4 kB / 0.8108 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004206/0.7635, allocations: 1.514 MB / 0.8123 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7636, allocations: 8 kB / 0.8123 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.7636, allocations: 8 kB / 0.8123 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.7636, allocations: 12 kB / 0.8123 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.765, allocations: 304 kB / 0.8126 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/0.7651, allocations: 15.94 kB / 0.8126 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.7667, allocations: 230.6 kB / 0.8128 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.7669, allocations: 51.98 kB / 0.8129 GB, free: 4.125 MB / 0.6387 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.0006184/0.7675, allocations: 339.6 kB / 0.8132 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.7678, allocations: 130.4 kB / 0.8133 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.772, allocations: 1.436 MB / 0.8147 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.772, allocations: 7.984 kB / 0.8147 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.772, allocations: 4 kB / 0.8147 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.772, allocations: 3.984 kB / 0.8147 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3538/1.126, allocations: 2.815 MB / 0.8175 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.126, allocations: 3.812 kB / 0.8175 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.127, allocations: 229.2 kB / 0.8177 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/1.127, allocations: 6.188 kB / 0.8177 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/1.127, allocations: 29.58 kB / 0.8178 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/1.127, allocations: 12.23 kB / 0.8178 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.127, allocations: 4.594 kB / 0.8178 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/1.133, allocations: 2.288 MB / 0.82 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/1.134, allocations: 300 kB / 0.8203 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.134, allocations: 23.38 kB / 0.8203 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.135, allocations: 134.9 kB / 0.8204 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.136, allocations: 66.16 kB / 0.8205 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/1.136, allocations: 38.3 kB / 0.8205 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001276/1.137, allocations: 0.8522 MB / 0.8214 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/1.137, allocations: 0 / 0.8214 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00113/1.138, allocations: 319.1 kB / 0.8217 GB, free: 218.3 MB / 0.6387 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.001283/1.139, allocations: 0.5384 MB / 0.8222 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004007/1.143, allocations: 1.305 MB / 0.8235 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.143, allocations: 0.5938 kB / 0.8235 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.145, allocations: 0.6481 MB / 0.8241 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.149, allocations: 0.569 MB / 0.8247 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/1.155, allocations: 3.067 MB / 0.8277 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.156, allocations: 1.171 MB / 0.8288 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001811/1.158, allocations: 336.7 kB / 0.8291 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/1.159, allocations: 108 kB / 0.8292 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.843e-06/1.159, allocations: 1.031 kB / 0.8292 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.03967/1.198, allocations: 21.12 MB / 0.8499 GB, free: 203.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)