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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_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.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001981/0.001981, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7328/0.7328, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.66 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 80.19 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4442/0.5873, allocations: 191.6 MB / 0.7666 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008315/0.5957, allocations: 5.175 MB / 0.7716 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.5971, allocations: 43.69 kB / 0.7717 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.5991, allocations: 0.7155 MB / 0.7724 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005924/0.605, allocations: 2.456 MB / 0.7748 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.6076, allocations: 1.001 MB / 0.7757 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.6113, allocations: 3.555 MB / 0.7792 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.6127, allocations: 0.8131 MB / 0.78 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.6148, allocations: 0.9998 MB / 0.781 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.6164, allocations: 0.9845 MB / 0.7819 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.6166, allocations: 56 kB / 0.782 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.6203, allocations: 2.061 MB / 0.784 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.6208, allocations: 414.6 kB / 0.7844 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008967/0.6217, allocations: 0.6252 MB / 0.785 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.6251, allocations: 2.212 MB / 0.7872 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6252, allocations: 0 / 0.7872 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6252, allocations: 0 / 0.7872 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-05/0.6252, allocations: 0 / 0.7872 GB, free: 14.59 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.005177/0.6304, allocations: 1.933 MB / 0.7891 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6305, allocations: 8.031 kB / 0.7891 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6306, allocations: 139.5 kB / 0.7892 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.6347, allocations: 0.6615 MB / 0.7898 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.636, allocations: 0.8902 MB / 0.7907 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.6361, allocations: 62 kB / 0.7908 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.6363, allocations: 88 kB / 0.7909 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.6395, allocations: 1.485 MB / 0.7923 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.6395, allocations: 3.938 kB / 0.7923 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6396, allocations: 36 kB / 0.7923 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.259e-05/0.6397, allocations: 45.98 kB / 0.7924 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/0.6438, allocations: 1.518 MB / 0.7939 GB, free: 7.531 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.007064/0.6508, allocations: 5.469 MB / 0.7992 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/0.6545, allocations: 1.289 MB / 0.8005 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.6562, allocations: 0.6507 MB / 0.8011 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008375/0.657, allocations: 0.5851 MB / 0.8017 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.6589, allocations: 0.7146 MB / 0.8024 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.6589, allocations: 0 / 0.8024 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005626/0.6645, allocations: 1.878 MB / 0.8042 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.6646, allocations: 60.06 kB / 0.8043 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.666, allocations: 1.242 MB / 0.8055 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.6661, allocations: 41.7 kB / 0.8055 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.6665, allocations: 0.5791 MB / 0.8061 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.6668, allocations: 276.1 kB / 0.8064 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.6671, allocations: 186.5 kB / 0.8065 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6672, allocations: 338 kB / 0.8069 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6688, allocations: 0.5367 MB / 0.8074 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.6706, allocations: 0.8252 MB / 0.8082 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.6738, allocations: 1.321 MB / 0.8095 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.6738, allocations: 4 kB / 0.8095 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003804/0.6776, allocations: 1.495 MB / 0.8109 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6776, allocations: 8 kB / 0.8109 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6777, allocations: 12.06 kB / 0.811 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.6777, allocations: 12 kB / 0.811 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.6791, allocations: 295.5 kB / 0.8112 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.6791, allocations: 19.92 kB / 0.8113 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6806, allocations: 222.7 kB / 0.8115 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.6807, allocations: 47.98 kB / 0.8115 GB, free: 4.777 MB / 0.6231 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.0005292/0.6812, allocations: 337.3 kB / 0.8118 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.6814, allocations: 134.2 kB / 0.812 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.6851, allocations: 1.416 MB / 0.8134 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6851, allocations: 8 kB / 0.8134 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6852, allocations: 0 / 0.8134 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6852, allocations: 3.984 kB / 0.8134 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005638/0.6908, allocations: 2.792 MB / 0.8161 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6909, allocations: 12.92 kB / 0.8161 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.6921, allocations: 215.7 kB / 0.8163 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.6921, allocations: 4.094 kB / 0.8163 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/0.6922, allocations: 31.91 kB / 0.8163 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.6923, allocations: 11.94 kB / 0.8164 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.6923, allocations: 5.375 kB / 0.8164 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.6976, allocations: 2.256 MB / 0.8186 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.6985, allocations: 299.2 kB / 0.8189 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.6989, allocations: 20 kB / 0.8189 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.7003, allocations: 127.8 kB / 0.819 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.7005, allocations: 64.38 kB / 0.8191 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/0.7006, allocations: 39.97 kB / 0.8191 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00144/0.702, allocations: 0.8561 MB / 0.8199 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.702, allocations: 0 / 0.8199 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001425/0.7035, allocations: 311.7 kB / 0.8202 GB, free: 11.66 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.007075/0.7106, allocations: 3.228 MB / 0.8234 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003806/0.7144, allocations: 1.283 MB / 0.8246 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.7144, allocations: 0 / 0.8246 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.7163, allocations: 0.6404 MB / 0.8253 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.7197, allocations: 0.5623 MB / 0.8258 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/0.7428, allocations: 12.1 MB / 0.8376 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.7437, allocations: 1.179 MB / 0.8388 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001571/0.7453, allocations: 341.9 kB / 0.8391 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008349/0.7462, allocations: 0.4914 MB / 0.8396 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.7462, allocations: 0 / 0.8396 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/1.051, allocations: 32.43 MB / 0.8712 GB, free: 222.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/1.051, allocations: 251.8 kB / 0.8715 GB, free: 221.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.545, allocations: 0 / 0.8715 GB, free: 221.9 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)