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.001612/0.001612, allocations: 106.8 kB / 16.37 MB, free: 6.48 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.001917/0.001917, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 80.18 MB / 0.5815 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5205/0.8709, allocations: 193.8 MB / 0.7708 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008019/0.8789, allocations: 5.145 MB / 0.7758 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.8801, allocations: 46.41 kB / 0.7758 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.8817, allocations: 0.8125 MB / 0.7766 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.8871, allocations: 2.595 MB / 0.7792 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.8897, allocations: 1.112 MB / 0.7802 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003362/0.8931, allocations: 2.617 MB / 0.7828 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.8941, allocations: 0.8972 MB / 0.7837 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8957, allocations: 1.073 MB / 0.7847 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.8967, allocations: 0.9504 MB / 0.7857 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.8968, allocations: 83.62 kB / 0.7857 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.8997, allocations: 1.786 MB / 0.7875 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.9001, allocations: 431.6 kB / 0.7879 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.9008, allocations: 0.6438 MB / 0.7885 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.9035, allocations: 2.168 MB / 0.7906 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9035, allocations: 0.8125 kB / 0.7906 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9035, allocations: 0 / 0.7906 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.9036, allocations: 3.094 kB / 0.7906 GB, free: 0.9414 MB / 0.5762 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.00444/0.908, allocations: 1.921 MB / 0.7925 GB, free: 16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.9081, allocations: 11.16 kB / 0.7925 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.9117, allocations: 0.6591 MB / 0.7932 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.9134, allocations: 0.945 MB / 0.7941 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.9134, allocations: 71.48 kB / 0.7942 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.9136, allocations: 90.67 kB / 0.7942 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.9163, allocations: 1.473 MB / 0.7957 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.9164, allocations: 4.062 kB / 0.7957 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/0.9165, allocations: 42.17 kB / 0.7957 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.9165, allocations: 45.88 kB / 0.7958 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.92, allocations: 1.522 MB / 0.7973 GB, free: 15.28 MB / 0.5919 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.007336/0.9274, allocations: 5.469 MB / 0.8026 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.9307, allocations: 1.282 MB / 0.8039 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.9322, allocations: 0.6588 MB / 0.8045 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008074/0.933, allocations: 0.5845 MB / 0.8051 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.9347, allocations: 0.7105 MB / 0.8058 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.236e-06/0.9347, allocations: 0 / 0.8058 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.00518/0.9399, allocations: 1.873 MB / 0.8076 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.9399, allocations: 63.59 kB / 0.8077 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.9413, allocations: 1.242 MB / 0.8089 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.9414, allocations: 42.38 kB / 0.8089 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.9418, allocations: 0.5744 MB / 0.8095 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.9421, allocations: 281.6 kB / 0.8097 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.9424, allocations: 189.3 kB / 0.8099 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9425, allocations: 342.3 kB / 0.8102 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.9441, allocations: 0.5354 MB / 0.8108 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.9458, allocations: 0.8222 MB / 0.8116 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.9488, allocations: 1.327 MB / 0.8129 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9488, allocations: 3.406 kB / 0.8129 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003577/0.9524, allocations: 1.497 MB / 0.8143 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9524, allocations: 12.53 kB / 0.8143 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9524, allocations: 9.469 kB / 0.8143 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.9525, allocations: 12.45 kB / 0.8144 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.9539, allocations: 293.5 kB / 0.8146 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/0.9539, allocations: 19.23 kB / 0.8147 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.9553, allocations: 199.1 kB / 0.8148 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.9554, allocations: 48.89 kB / 0.8149 GB, free: 9.559 MB / 0.5919 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.0005168/0.9559, allocations: 340.9 kB / 0.8152 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.9562, allocations: 141.8 kB / 0.8154 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.9598, allocations: 1.41 MB / 0.8167 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.9598, allocations: 8.406 kB / 0.8167 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9598, allocations: 0 / 0.8167 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.9598, allocations: 7.969 kB / 0.8167 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.9653, allocations: 2.785 MB / 0.8195 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.9654, allocations: 2.5 kB / 0.8195 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.9666, allocations: 226.4 kB / 0.8197 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.9666, allocations: 11.69 kB / 0.8197 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.9667, allocations: 33.72 kB / 0.8197 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.9667, allocations: 7.781 kB / 0.8197 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9668, allocations: 6.875 kB / 0.8197 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.9719, allocations: 2.247 MB / 0.8219 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.9725, allocations: 297.6 kB / 0.8222 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.9727, allocations: 26.5 kB / 0.8222 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.9738, allocations: 110 kB / 0.8224 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.9739, allocations: 61.62 kB / 0.8224 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/0.974, allocations: 39.91 kB / 0.8224 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009062/0.9749, allocations: 0.8542 MB / 0.8233 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9749, allocations: 0 / 0.8233 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009695/0.9759, allocations: 313.7 kB / 0.8236 GB, free: 6.43 MB / 0.5919 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.001189/0.9771, allocations: 0.5291 MB / 0.8241 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.9806, allocations: 1.286 MB / 0.8254 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9806, allocations: 0 / 0.8254 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.9823, allocations: 0.6436 MB / 0.826 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9848, allocations: 0.6087 MB / 0.8266 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.9895, allocations: 2.559 MB / 0.8291 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.9902, allocations: 1.175 MB / 0.8302 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001138/0.9913, allocations: 346 kB / 0.8306 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.9917, allocations: 107.4 kB / 0.8307 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.9917, allocations: 0 / 0.8307 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of Templates: time 0.03594/1.028, allocations: 22.2 MB / 0.8523 GB, free: 10.03 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)