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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, 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.8338/0.8338, 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.736/1.736, allocations: 221.3 MB / 400.4 MB, free: 5.777 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.001079/0.001079, allocations: 91.81 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.806e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/4.87, allocations: 1.837 GB / 2.477 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/4.87, allocations: 82.7 kB / 2.477 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.917/8.787, allocations: 1.018 GB / 3.495 GB, free: 96.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/8.787, allocations: 0 / 3.495 GB, free: 96.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002072/8.787, allocations: 47.38 kB / 3.496 GB, free: 96.13 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.008209/8.795, allocations: 1.84 MB / 3.497 GB, free: 94.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/8.795, allocations: 8.031 kB / 3.497 GB, free: 94.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004327/8.796, allocations: 135.5 kB / 3.497 GB, free: 94.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004581/8.8, allocations: 0.6875 MB / 3.498 GB, free: 93.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/8.804, allocations: 1.058 MB / 3.499 GB, free: 92.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/8.804, allocations: 62 kB / 3.499 GB, free: 92.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/8.805, allocations: 87.95 kB / 3.499 GB, free: 92.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/8.807, allocations: 1.26 MB / 3.501 GB, free: 90.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/8.807, allocations: 7.938 kB / 3.501 GB, free: 90.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/8.807, allocations: 32 kB / 3.501 GB, free: 90.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/8.807, allocations: 45.97 kB / 3.501 GB, free: 90.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/8.809, allocations: 0.9915 MB / 3.502 GB, free: 89.73 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.008588/8.818, allocations: 5.78 MB / 3.507 GB, free: 83.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/8.819, allocations: 0.9357 MB / 3.508 GB, free: 82.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/8.82, allocations: 0.4915 MB / 3.509 GB, free: 82.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/8.821, allocations: 0.5853 MB / 3.509 GB, free: 81.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008004/8.822, allocations: 0.5955 MB / 3.51 GB, free: 80.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.226e-06/8.822, allocations: 0 / 3.51 GB, free: 80.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.002121/8.824, allocations: 1.1 MB / 3.511 GB, free: 79.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/8.824, allocations: 60.19 kB / 3.511 GB, free: 79.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/8.825, allocations: 1.078 MB / 3.512 GB, free: 78.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/8.825, allocations: 53.69 kB / 3.512 GB, free: 78.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/8.826, allocations: 0.5792 MB / 3.513 GB, free: 78.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/8.826, allocations: 272.1 kB / 3.513 GB, free: 77.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/8.826, allocations: 20 kB / 3.513 GB, free: 77.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/8.826, allocations: 349.9 kB / 3.513 GB, free: 77.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/8.826, allocations: 421.8 kB / 3.514 GB, free: 77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/8.827, allocations: 0.7223 MB / 3.514 GB, free: 76.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/8.828, allocations: 469.7 kB / 3.515 GB, free: 75.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/8.828, allocations: 4 kB / 3.515 GB, free: 75.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001828/8.83, allocations: 1.252 MB / 3.516 GB, free: 74.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/8.83, allocations: 8.938 kB / 3.516 GB, free: 74.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/8.83, allocations: 4 kB / 3.516 GB, free: 74.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/8.83, allocations: 16 kB / 3.516 GB, free: 74.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/8.831, allocations: 319.7 kB / 3.516 GB, free: 74.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/8.831, allocations: 23.92 kB / 3.516 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/8.833, allocations: 226.8 kB / 3.517 GB, free: 73.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/8.833, allocations: 59.95 kB / 3.517 GB, free: 73.77 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.0002144/8.833, allocations: 166.9 kB / 3.517 GB, free: 73.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/8.833, allocations: 134.3 kB / 3.517 GB, free: 73.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/8.835, allocations: 1.228 MB / 3.518 GB, free: 72.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/8.835, allocations: 8 kB / 3.518 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/8.835, allocations: 0 / 3.518 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/8.835, allocations: 3.984 kB / 3.518 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/8.839, allocations: 2.733 MB / 3.521 GB, free: 69.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/8.839, allocations: 4 kB / 3.521 GB, free: 69.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/8.84, allocations: 248 kB / 3.521 GB, free: 69.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/8.84, allocations: 4 kB / 3.521 GB, free: 69.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/8.84, allocations: 43.95 kB / 3.521 GB, free: 69.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/8.84, allocations: 15.94 kB / 3.521 GB, free: 69.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/8.84, allocations: 4 kB / 3.521 GB, free: 69.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/8.843, allocations: 2.163 MB / 3.523 GB, free: 66.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/8.843, allocations: 351.1 kB / 3.524 GB, free: 66.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/8.844, allocations: 27.98 kB / 3.524 GB, free: 66.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/8.845, allocations: 143.8 kB / 3.524 GB, free: 66.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/8.845, allocations: 64.38 kB / 3.524 GB, free: 66.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/8.845, allocations: 39.95 kB / 3.524 GB, free: 66.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001009/8.846, allocations: 0.8384 MB / 3.525 GB, free: 65.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/8.846, allocations: 4 kB / 3.525 GB, free: 65.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00179/8.848, allocations: 0.5074 MB / 3.525 GB, free: 64.79 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.006129/8.854, allocations: 5.662 MB / 3.531 GB, free: 59.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001658/8.856, allocations: 1.043 MB / 3.532 GB, free: 58.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/8.856, allocations: 4.125 kB / 3.532 GB, free: 58.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/8.857, allocations: 0.5378 MB / 3.532 GB, free: 57.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/8.859, allocations: 0.5592 MB / 3.533 GB, free: 56.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/8.875, allocations: 3.053 MB / 3.536 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/8.875, allocations: 1.204 MB / 3.537 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00169/8.877, allocations: 385.8 kB / 3.537 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/8.878, allocations: 0.4992 MB / 3.538 GB, free: 51.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/8.878, allocations: 0 / 3.538 GB, free: 51.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5892/9.467, allocations: 63.47 MB / 3.6 GB, free: 119.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/9.467, allocations: 189.9 kB / 3.6 GB, free: 119.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/13.71, allocations: 1.781 kB / 3.6 GB, free: 119.2 MB / 0.698 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/linux/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)