Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.008741/0.008741, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8137/0.8137, allocations: 135.2 MB / 151 MB, free: 13.83 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.42/1.42, allocations: 223.2 MB / 406.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.95 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005136, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4994, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.506/5.006, allocations: 1.837 GB / 2.486 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/5.006, allocations: 89.03 kB / 2.486 GB, free: 141 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.861/7.867, allocations: 0.6869 GB / 3.173 GB, free: 127.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/7.867, allocations: 0 / 3.173 GB, free: 127.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001494/7.867, allocations: 44.92 kB / 3.173 GB, free: 127.7 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009054/7.876, allocations: 2.069 MB / 3.175 GB, free: 127.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/7.877, allocations: 14.78 kB / 3.175 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003564/7.877, allocations: 139.1 kB / 3.175 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/7.882, allocations: 0.8768 MB / 3.176 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/7.886, allocations: 1.146 MB / 3.177 GB, free: 126.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/7.886, allocations: 61.22 kB / 3.177 GB, free: 126.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/7.887, allocations: 88.53 kB / 3.178 GB, free: 126.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/7.89, allocations: 1.552 MB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/7.89, allocations: 2.25 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/7.89, allocations: 38.2 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/7.89, allocations: 43.22 kB / 3.179 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/7.895, allocations: 1.667 MB / 3.181 GB, free: 126.6 MB / 0.698 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.01012/7.905, allocations: 5.033 MB / 3.186 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/7.91, allocations: 1.65 MB / 3.187 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/7.911, allocations: 0.9433 MB / 3.188 GB, free: 123.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00253/7.913, allocations: 0.9697 MB / 3.189 GB, free: 123.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 4.429e-06/7.913, allocations: 3.469 kB / 3.189 GB, free: 123.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008664/7.922, allocations: 2.59 MB / 3.192 GB, free: 123.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/7.922, allocations: 63.72 kB / 3.192 GB, free: 123.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/7.925, allocations: 1.062 MB / 3.193 GB, free: 123.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/7.925, allocations: 48.11 kB / 3.193 GB, free: 123.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007744/7.926, allocations: 0.5418 MB / 3.193 GB, free: 123.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/7.926, allocations: 330.3 kB / 3.194 GB, free: 123 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/7.927, allocations: 19.47 kB / 3.194 GB, free: 123 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001503/7.927, allocations: 356.9 kB / 3.194 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/7.929, allocations: 0.7407 MB / 3.195 GB, free: 122.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/7.931, allocations: 0.9854 MB / 3.196 GB, free: 122.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/7.934, allocations: 0.7676 MB / 3.196 GB, free: 122.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/7.934, allocations: 0 / 3.196 GB, free: 122.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005226/7.939, allocations: 1.879 MB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/7.939, allocations: 3.938 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/7.939, allocations: 3.969 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/7.939, allocations: 9.281 kB / 3.198 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/7.941, allocations: 363.3 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/7.941, allocations: 10.06 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/7.943, allocations: 262.7 kB / 3.199 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/7.943, allocations: 52.25 kB / 3.199 GB, free: 122.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0008956/7.944, allocations: 349.9 kB / 3.199 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/7.945, allocations: 133.9 kB / 3.199 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/7.95, allocations: 1.957 MB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/7.95, allocations: 12.56 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/7.95, allocations: 3.844 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/7.95, allocations: 7.688 kB / 3.201 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008893/7.959, allocations: 3.587 MB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/7.959, allocations: 6.125 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/7.961, allocations: 314.4 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.531e-05/7.961, allocations: 7.844 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/7.961, allocations: 43.23 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/7.961, allocations: 11.3 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/7.961, allocations: 3.812 kB / 3.205 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00758/7.969, allocations: 3.265 MB / 3.208 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/7.97, allocations: 364.5 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/7.971, allocations: 36.95 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/7.973, allocations: 188.2 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/7.973, allocations: 70.62 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/7.973, allocations: 48.02 kB / 3.209 GB, free: 120.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001848/7.975, allocations: 0.8337 MB / 3.21 GB, free: 120.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/7.975, allocations: 0 / 3.21 GB, free: 120.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002699/7.978, allocations: 0.5222 MB / 3.21 GB, free: 120.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.0123/7.99, allocations: 6.8 MB / 3.217 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004986/7.995, allocations: 1.735 MB / 3.219 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/7.995, allocations: 0 / 3.219 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/7.998, allocations: 0.8981 MB / 3.22 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/8.001, allocations: 0.5803 MB / 3.22 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/8.035, allocations: 13.09 MB / 3.233 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/8.037, allocations: 1.218 MB / 3.234 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002512/8.039, allocations: 400.4 kB / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/8.041, allocations: 0.5201 MB / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/8.041, allocations: 0 / 3.235 GB, free: 111.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/8.154, allocations: 60.67 MB / 3.294 GB, free: 98.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/8.154, allocations: 215.4 kB / 3.295 GB, free: 98.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.585/12.74, allocations: 0 / 3.295 GB, free: 98.27 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)