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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001806/0.001806, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 8.219 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1882, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5554/0.7437, allocations: 176.3 MB / 0.7596 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008209/0.7519, allocations: 4.888 MB / 0.7644 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.7533, allocations: 39.69 kB / 0.7645 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.7549, allocations: 0.6219 MB / 0.7651 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.76, allocations: 1.886 MB / 0.7669 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.7625, allocations: 0.9118 MB / 0.7678 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003675/0.7662, allocations: 3.011 MB / 0.7707 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.7674, allocations: 0.7311 MB / 0.7715 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7693, allocations: 0.9765 MB / 0.7724 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.7705, allocations: 0.9223 MB / 0.7733 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.7707, allocations: 44 kB / 0.7733 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.773, allocations: 0.9314 MB / 0.7743 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.7734, allocations: 394.7 kB / 0.7746 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.7738, allocations: 272.9 kB / 0.7749 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.7754, allocations: 1.337 MB / 0.7762 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7754, allocations: 4 kB / 0.7762 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7754, allocations: 0 / 0.7762 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.7754, allocations: 0 / 0.7762 GB, free: 11.61 MB / 0.5919 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.004278/0.7797, allocations: 1.695 MB / 0.7779 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7798, allocations: 15.97 kB / 0.7779 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.78, allocations: 139.4 kB / 0.778 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.7834, allocations: 0.7083 MB / 0.7787 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7847, allocations: 0.8328 MB / 0.7795 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.7847, allocations: 69.97 kB / 0.7796 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.7849, allocations: 84 kB / 0.7797 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.7877, allocations: 1.478 MB / 0.7811 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7877, allocations: 0 / 0.7811 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-05/0.7878, allocations: 43.98 kB / 0.7811 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.7879, allocations: 49.94 kB / 0.7812 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.7916, allocations: 1.538 MB / 0.7827 GB, free: 4.758 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.007051/0.7987, allocations: 5.508 MB / 0.7881 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.802, allocations: 1.316 MB / 0.7894 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.8035, allocations: 0.6649 MB / 0.79 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008509/0.8044, allocations: 0.5929 MB / 0.7906 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.8061, allocations: 0.7185 MB / 0.7913 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.015e-06/0.8061, allocations: 4 kB / 0.7913 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005175/0.8113, allocations: 1.905 MB / 0.7932 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.8114, allocations: 60.06 kB / 0.7932 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.8128, allocations: 1.231 MB / 0.7944 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.184e-05/0.8129, allocations: 45.7 kB / 0.7945 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.8134, allocations: 0.5753 MB / 0.795 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.8137, allocations: 276.1 kB / 0.7953 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.8137, allocations: 20 kB / 0.7953 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.8139, allocations: 345.9 kB / 0.7956 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.8153, allocations: 0.5406 MB / 0.7962 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.817, allocations: 0.833 MB / 0.797 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.8185, allocations: 0.5925 MB / 0.7975 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8185, allocations: 0 / 0.7975 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003467/0.8219, allocations: 1.511 MB / 0.799 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.822, allocations: 12.16 kB / 0.799 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.822, allocations: 8 kB / 0.799 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.822, allocations: 16 kB / 0.7991 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.8233, allocations: 295.6 kB / 0.7993 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.8234, allocations: 19.92 kB / 0.7994 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.8246, allocations: 226.7 kB / 0.7996 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.8247, allocations: 53.41 kB / 0.7996 GB, free: 2.855 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006101/0.8254, allocations: 343.6 kB / 0.8 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.8255, allocations: 130.3 kB / 0.8001 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.8291, allocations: 1.429 MB / 0.8015 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.8291, allocations: 11.94 kB / 0.8015 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8291, allocations: 0 / 0.8015 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8291, allocations: 3.984 kB / 0.8015 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.8345, allocations: 2.818 MB / 0.8042 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.8345, allocations: 8.062 kB / 0.8042 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.8357, allocations: 231.5 kB / 0.8045 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.8357, allocations: 11.98 kB / 0.8045 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.8358, allocations: 27.97 kB / 0.8045 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.8358, allocations: 14.73 kB / 0.8045 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.8358, allocations: 4 kB / 0.8045 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.8407, allocations: 2.279 MB / 0.8068 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.8413, allocations: 315.1 kB / 0.8071 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.8415, allocations: 16 kB / 0.8071 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/0.8425, allocations: 139.8 kB / 0.8072 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8426, allocations: 68.38 kB / 0.8073 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.8427, allocations: 35.97 kB / 0.8073 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001032/0.8437, allocations: 0.8405 MB / 0.8081 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8437, allocations: 4 kB / 0.8081 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001021/0.8448, allocations: 315.6 kB / 0.8084 GB, free: 9.645 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007058/0.8518, allocations: 3.249 MB / 0.8116 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003475/0.8553, allocations: 1.29 MB / 0.8129 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8554, allocations: 0 / 0.8129 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.857, allocations: 0.656 MB / 0.8135 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.8597, allocations: 0.5635 MB / 0.814 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.8754, allocations: 8.653 MB / 0.8225 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/0.8763, allocations: 1.171 MB / 0.8236 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00146/0.8777, allocations: 341.9 kB / 0.824 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.8785, allocations: 499.2 kB / 0.8244 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.8785, allocations: 3.938 kB / 0.8244 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/0.935, allocations: 32.18 MB / 0.8559 GB, free: 9.113 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.9353, allocations: 231.8 kB / 0.8561 GB, free: 8.871 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.477, allocations: 0 / 0.8561 GB, free: 8.871 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: