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.001859/0.001859, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002296/0.002296, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.882/1.882, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9479/0.9479, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.55 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1626, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4103/0.5729, allocations: 191.3 MB / 0.7708 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007596/0.5805, allocations: 5.118 MB / 0.7758 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.5817, allocations: 47.62 kB / 0.7758 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.5834, allocations: 0.7233 MB / 0.7765 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.5886, allocations: 2.448 MB / 0.7789 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5908, allocations: 1.011 MB / 0.7799 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.5935, allocations: 2.63 MB / 0.7825 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.5947, allocations: 0.8922 MB / 0.7834 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.5964, allocations: 1.113 MB / 0.7845 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.5977, allocations: 1.016 MB / 0.7854 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.5979, allocations: 76 kB / 0.7855 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.6004, allocations: 1.855 MB / 0.7873 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.6008, allocations: 438.6 kB / 0.7877 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.6015, allocations: 0.6444 MB / 0.7884 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.6041, allocations: 2.259 MB / 0.7906 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6041, allocations: 0 / 0.7906 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6042, allocations: 4 kB / 0.7906 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.062e-05/0.6042, allocations: 4 kB / 0.7906 GB, free: 9.598 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.004646/0.6089, allocations: 1.936 MB / 0.7925 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.6089, allocations: 12.02 kB / 0.7925 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.6091, allocations: 135.5 kB / 0.7926 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.6128, allocations: 0.6576 MB / 0.7933 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.614, allocations: 0.8748 MB / 0.7941 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.6141, allocations: 69.97 kB / 0.7942 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.6142, allocations: 95.91 kB / 0.7943 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.6171, allocations: 1.474 MB / 0.7957 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6171, allocations: 0 / 0.7957 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6173, allocations: 39.97 kB / 0.7958 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.6173, allocations: 49.98 kB / 0.7958 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.6211, allocations: 1.522 MB / 0.7973 GB, free: 2.539 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.006403/0.6275, allocations: 5.48 MB / 0.8026 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.6309, allocations: 1.281 MB / 0.8039 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.6325, allocations: 0.6609 MB / 0.8045 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007627/0.6332, allocations: 0.5812 MB / 0.8051 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.6349, allocations: 0.703 MB / 0.8058 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.434e-06/0.635, allocations: 0 / 0.8058 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005102/0.6401, allocations: 1.882 MB / 0.8076 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6401, allocations: 64 kB / 0.8077 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6414, allocations: 1.239 MB / 0.8089 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/0.6415, allocations: 45.7 kB / 0.8089 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.6419, allocations: 0.5714 MB / 0.8095 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.6421, allocations: 280.1 kB / 0.8098 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.6424, allocations: 190.5 kB / 0.8099 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6425, allocations: 337.9 kB / 0.8103 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.644, allocations: 0.5367 MB / 0.8108 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.6457, allocations: 0.8212 MB / 0.8116 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.6487, allocations: 1.324 MB / 0.8129 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6487, allocations: 0 / 0.8129 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003512/0.6522, allocations: 1.499 MB / 0.8144 GB, free: 404 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6523, allocations: 14.22 kB / 0.8144 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6523, allocations: 8 kB / 0.8144 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6523, allocations: 12 kB / 0.8144 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.6536, allocations: 291.5 kB / 0.8147 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.6537, allocations: 15.98 kB / 0.8147 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6549, allocations: 226.6 kB / 0.8149 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.655, allocations: 59.89 kB / 0.815 GB, free: 15.78 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.0004138/0.6555, allocations: 334 kB / 0.8153 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6556, allocations: 138.2 kB / 0.8154 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.6592, allocations: 1.416 MB / 0.8168 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6592, allocations: 8 kB / 0.8168 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6593, allocations: 0 / 0.8168 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6593, allocations: 3.984 kB / 0.8168 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.6647, allocations: 2.8 MB / 0.8195 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6647, allocations: 4 kB / 0.8195 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.6659, allocations: 215.8 kB / 0.8197 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.6659, allocations: 8 kB / 0.8197 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.666, allocations: 27.97 kB / 0.8198 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.666, allocations: 8 kB / 0.8198 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.666, allocations: 12.44 kB / 0.8198 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.6709, allocations: 2.248 MB / 0.822 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.6713, allocations: 295.3 kB / 0.8223 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6715, allocations: 27.98 kB / 0.8223 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6726, allocations: 135.6 kB / 0.8224 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6728, allocations: 68.36 kB / 0.8225 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.6728, allocations: 35.92 kB / 0.8225 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008606/0.6737, allocations: 0.8522 MB / 0.8234 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6737, allocations: 0 / 0.8234 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008295/0.6745, allocations: 315.7 kB / 0.8237 GB, free: 6.652 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.006244/0.6808, allocations: 3.212 MB / 0.8268 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.6843, allocations: 1.407 MB / 0.8282 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6843, allocations: 3.938 kB / 0.8282 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.6859, allocations: 0.6326 MB / 0.8288 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.6883, allocations: 0.6026 MB / 0.8294 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.7072, allocations: 12.11 MB / 0.8412 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.7078, allocations: 1.175 MB / 0.8424 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001284/0.7091, allocations: 341.9 kB / 0.8427 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/0.7098, allocations: 0.4953 MB / 0.8432 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.7098, allocations: 4 kB / 0.8432 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.832/1.542, allocations: 33.24 MB / 0.8756 GB, free: 221.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/1.542, allocations: 254 kB / 0.8759 GB, free: 221.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.388/5.93, allocations: 0 / 0.8759 GB, free: 221.1 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/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)