Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001368/0.001368, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001334/0.001334, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9368/0.9368, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 72.38 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4308/0.5882, allocations: 191.3 MB / 0.7713 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008276/0.5965, allocations: 5.118 MB / 0.7763 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.5971, allocations: 43.69 kB / 0.7763 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.5987, allocations: 0.735 MB / 0.7771 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.6037, allocations: 2.448 MB / 0.7795 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.6059, allocations: 1.007 MB / 0.7804 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.6088, allocations: 2.625 MB / 0.783 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.61, allocations: 0.8999 MB / 0.7839 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.6116, allocations: 1.113 MB / 0.785 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.6128, allocations: 1.012 MB / 0.786 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.6129, allocations: 76 kB / 0.786 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.616, allocations: 1.855 MB / 0.7878 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.6165, allocations: 442.6 kB / 0.7883 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.6171, allocations: 0.6449 MB / 0.7889 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.62, allocations: 2.262 MB / 0.7911 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6201, allocations: 0 / 0.7911 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.467e-06/0.6201, allocations: 4 kB / 0.7911 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6201, allocations: 0 / 0.7911 GB, free: 8.812 MB / 0.6075 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.004854/0.6249, allocations: 1.929 MB / 0.793 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.625, allocations: 8.031 kB / 0.793 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.6289, allocations: 0.6576 MB / 0.7936 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6302, allocations: 0.8863 MB / 0.7945 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.6303, allocations: 70.48 kB / 0.7946 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.6305, allocations: 84 kB / 0.7946 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.6336, allocations: 1.47 MB / 0.7961 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6337, allocations: 7.938 kB / 0.7961 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6338, allocations: 47.97 kB / 0.7961 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.6339, allocations: 41.98 kB / 0.7962 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/0.6379, allocations: 1.526 MB / 0.7977 GB, free: 1.902 MB / 0.6075 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.007495/0.6454, allocations: 5.48 MB / 0.803 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/0.6491, allocations: 1.28 MB / 0.8043 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.6507, allocations: 0.6609 MB / 0.8049 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/0.6516, allocations: 0.578 MB / 0.8055 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.6535, allocations: 0.7223 MB / 0.8062 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.535e-06/0.6535, allocations: 0 / 0.8062 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005599/0.6591, allocations: 1.866 MB / 0.808 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.6592, allocations: 64.05 kB / 0.8081 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.6607, allocations: 1.246 MB / 0.8093 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.6608, allocations: 41.7 kB / 0.8093 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.6613, allocations: 0.5792 MB / 0.8099 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.6616, allocations: 272.1 kB / 0.8101 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.6619, allocations: 182.5 kB / 0.8103 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6621, allocations: 345.9 kB / 0.8107 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.6636, allocations: 0.5405 MB / 0.8112 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.6655, allocations: 0.8213 MB / 0.812 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.669, allocations: 1.321 MB / 0.8133 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.6691, allocations: 4 kB / 0.8133 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003882/0.6729, allocations: 1.495 MB / 0.8147 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.673, allocations: 8 kB / 0.8147 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.673, allocations: 11.56 kB / 0.8148 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.673, allocations: 12 kB / 0.8148 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.6744, allocations: 296.2 kB / 0.815 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.6745, allocations: 19.88 kB / 0.8151 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.6758, allocations: 218.7 kB / 0.8153 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.6759, allocations: 51.97 kB / 0.8153 GB, free: 15.14 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.0005164/0.6764, allocations: 337.2 kB / 0.8156 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.6766, allocations: 146.2 kB / 0.8158 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.6805, allocations: 1.405 MB / 0.8172 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6805, allocations: 8 kB / 0.8172 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6805, allocations: 0 / 0.8172 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6805, allocations: 7.984 kB / 0.8172 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.6863, allocations: 2.797 MB / 0.8199 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6863, allocations: 7.938 kB / 0.8199 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.6876, allocations: 232.1 kB / 0.8201 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.6876, allocations: 4 kB / 0.8201 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.6877, allocations: 23.98 kB / 0.8202 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.6877, allocations: 12.77 kB / 0.8202 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6877, allocations: 4 kB / 0.8202 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.6932, allocations: 2.256 MB / 0.8224 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004736/0.6937, allocations: 287.2 kB / 0.8227 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6938, allocations: 27.98 kB / 0.8227 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.6949, allocations: 135.4 kB / 0.8228 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6951, allocations: 64.36 kB / 0.8229 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.6952, allocations: 35.97 kB / 0.8229 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001055/0.6962, allocations: 0.8522 MB / 0.8237 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6962, allocations: 4 kB / 0.8237 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001005/0.6973, allocations: 315.7 kB / 0.824 GB, free: 6.012 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.001748/0.699, allocations: 0.5229 MB / 0.8246 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004023/0.703, allocations: 1.411 MB / 0.8259 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7031, allocations: 256 / 0.8259 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.7048, allocations: 0.6401 MB / 0.8266 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.7074, allocations: 0.5933 MB / 0.8271 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.7125, allocations: 2.977 MB / 0.83 GB, free: 16 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.7133, allocations: 1.175 MB / 0.8312 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001304/0.7146, allocations: 353.9 kB / 0.8315 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.715, allocations: 107.3 kB / 0.8316 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.715, allocations: 0 / 0.8316 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.03497/0.75, allocations: 22 MB / 0.8531 GB, free: 8.645 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)