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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7901/0.7901, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.77/1.77, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 97.22 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.276e-05/5.286e-05, allocations: 7.312 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/4.855, allocations: 1.837 GB / 2.477 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/4.855, allocations: 81.14 kB / 2.477 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.062/8.917, allocations: 1.018 GB / 3.495 GB, free: 96.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/8.917, allocations: 0 / 3.495 GB, free: 96.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003391/8.917, allocations: 39.98 kB / 3.496 GB, free: 96.23 MB / 0.698 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.009903/8.927, allocations: 1.83 MB / 3.497 GB, free: 94.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/8.927, allocations: 8.031 kB / 3.497 GB, free: 94.35 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006424/8.928, allocations: 143.5 kB / 3.497 GB, free: 94.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/8.933, allocations: 0.6953 MB / 3.498 GB, free: 93.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/8.938, allocations: 1.042 MB / 3.499 GB, free: 92.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/8.938, allocations: 62 kB / 3.499 GB, free: 92.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004816/8.939, allocations: 91.94 kB / 3.499 GB, free: 92.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/8.942, allocations: 1.26 MB / 3.501 GB, free: 90.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/8.942, allocations: 7.938 kB / 3.501 GB, free: 90.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/8.942, allocations: 32 kB / 3.501 GB, free: 90.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.91e-05/8.942, allocations: 41.92 kB / 3.501 GB, free: 90.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/8.944, allocations: 0.9916 MB / 3.502 GB, free: 89.86 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01052/8.954, allocations: 5.784 MB / 3.507 GB, free: 83.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/8.956, allocations: 0.9282 MB / 3.508 GB, free: 82.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/8.957, allocations: 0.4994 MB / 3.509 GB, free: 82.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000893/8.958, allocations: 0.5813 MB / 3.509 GB, free: 81.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009766/8.959, allocations: 0.5994 MB / 3.51 GB, free: 81.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 5.56e-06/8.959, allocations: 0 / 3.51 GB, free: 81.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002839/8.962, allocations: 1.092 MB / 3.511 GB, free: 79.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/8.962, allocations: 72.11 kB / 3.511 GB, free: 79.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/8.964, allocations: 1.078 MB / 3.512 GB, free: 78.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/8.964, allocations: 41.7 kB / 3.512 GB, free: 78.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/8.965, allocations: 0.5869 MB / 3.513 GB, free: 78.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/8.965, allocations: 276.1 kB / 3.513 GB, free: 77.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/8.966, allocations: 20 kB / 3.513 GB, free: 77.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/8.966, allocations: 349.8 kB / 3.513 GB, free: 77.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/8.967, allocations: 421.8 kB / 3.514 GB, free: 77.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/8.968, allocations: 0.7301 MB / 3.514 GB, free: 76.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/8.968, allocations: 465.7 kB / 3.515 GB, free: 75.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/8.968, allocations: 0 / 3.515 GB, free: 75.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002583/8.971, allocations: 1.248 MB / 3.516 GB, free: 74.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/8.971, allocations: 9.719 kB / 3.516 GB, free: 74.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/8.971, allocations: 8 kB / 3.516 GB, free: 74.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/8.971, allocations: 12 kB / 3.516 GB, free: 74.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/8.973, allocations: 323.4 kB / 3.516 GB, free: 74.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/8.973, allocations: 12 kB / 3.516 GB, free: 74.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/8.975, allocations: 242.6 kB / 3.517 GB, free: 73.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/8.975, allocations: 55.97 kB / 3.517 GB, free: 73.89 MB / 0.698 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 () * 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.000319/8.975, allocations: 170.9 kB / 3.517 GB, free: 73.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/8.976, allocations: 134.3 kB / 3.517 GB, free: 73.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/8.978, allocations: 1.224 MB / 3.518 GB, free: 72.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/8.978, allocations: 12 kB / 3.518 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/8.978, allocations: 3.984 kB / 3.518 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/8.978, allocations: 3.984 kB / 3.518 GB, free: 72.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/8.983, allocations: 2.725 MB / 3.521 GB, free: 69.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/8.983, allocations: 0 / 3.521 GB, free: 69.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/8.984, allocations: 256.1 kB / 3.521 GB, free: 69.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/8.984, allocations: 8 kB / 3.521 GB, free: 69.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/8.984, allocations: 31.97 kB / 3.521 GB, free: 69.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/8.984, allocations: 15.92 kB / 3.521 GB, free: 69.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/8.984, allocations: 4 kB / 3.521 GB, free: 69.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/8.987, allocations: 2.171 MB / 3.523 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/8.989, allocations: 347.1 kB / 3.524 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/8.989, allocations: 20 kB / 3.524 GB, free: 66.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/8.99, allocations: 151.8 kB / 3.524 GB, free: 66.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/8.991, allocations: 68.38 kB / 3.524 GB, free: 66.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/8.991, allocations: 43.95 kB / 3.524 GB, free: 66.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00157/8.992, allocations: 0.8345 MB / 3.525 GB, free: 65.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/8.992, allocations: 0 / 3.525 GB, free: 65.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003132/8.995, allocations: 0.5035 MB / 3.525 GB, free: 64.9 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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.008492/9.004, allocations: 5.66 MB / 3.531 GB, free: 59.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002314/9.006, allocations: 1.049 MB / 3.532 GB, free: 58.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/9.006, allocations: 0 / 3.532 GB, free: 58.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/9.007, allocations: 0.5364 MB / 3.532 GB, free: 57.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/9.011, allocations: 0.5627 MB / 3.533 GB, free: 57.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/9.026, allocations: 3.049 MB / 3.536 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/9.027, allocations: 1.204 MB / 3.537 GB, free: 52.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001788/9.029, allocations: 372.1 kB / 3.537 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/9.029, allocations: 0.507 MB / 3.538 GB, free: 51.87 MB / 0.698 GB Notification: Performance of SimCode: time 2.775e-06/9.029, allocations: 4 kB / 3.538 GB, free: 51.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/9.683, allocations: 63.48 MB / 3.6 GB, free: 122.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/9.684, allocations: 199.9 kB / 3.6 GB, free: 121.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/14.01, allocations: 0 / 3.6 GB, free: 121.9 MB / 0.698 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)