Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.008618/0.008618, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7869/0.7869, allocations: 135.2 MB / 151 MB, free: 13.82 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.398/1.398, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.00101/0.00101, allocations: 102.4 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4431, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/5.022, allocations: 1.837 GB / 2.486 GB, free: 141 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/5.022, allocations: 87.95 kB / 2.486 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.011/9.033, allocations: 1.019 GB / 3.505 GB, free: 117.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/9.033, allocations: 0 / 3.505 GB, free: 117.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001296/9.033, allocations: 43.06 kB / 3.505 GB, free: 117.1 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.009093/9.042, allocations: 2.03 MB / 3.507 GB, free: 116.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/9.042, allocations: 14.48 kB / 3.507 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004907/9.043, allocations: 129.7 kB / 3.507 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/9.047, allocations: 0.6912 MB / 3.508 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/9.051, allocations: 1.057 MB / 3.509 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/9.051, allocations: 62.84 kB / 3.509 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/9.052, allocations: 92.12 kB / 3.509 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/9.055, allocations: 1.445 MB / 3.511 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/9.055, allocations: 5.469 kB / 3.511 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/9.055, allocations: 40.11 kB / 3.511 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/9.055, allocations: 46.23 kB / 3.511 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/9.059, allocations: 1.409 MB / 3.512 GB, free: 115.7 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.008796/9.068, allocations: 5.302 MB / 3.517 GB, free: 113.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/9.071, allocations: 1.307 MB / 3.519 GB, free: 113.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/9.072, allocations: 0.9449 MB / 3.52 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00202/9.074, allocations: 0.7957 MB / 3.52 GB, free: 112.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.02e-06/9.074, allocations: 3.938 kB / 3.52 GB, free: 112.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.006583/9.081, allocations: 2.134 MB / 3.522 GB, free: 112.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/9.081, allocations: 62.31 kB / 3.523 GB, free: 112 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/9.083, allocations: 1.12 MB / 3.524 GB, free: 111.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/9.083, allocations: 45.11 kB / 3.524 GB, free: 111.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/9.084, allocations: 0.5747 MB / 3.524 GB, free: 111.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/9.084, allocations: 284.7 kB / 3.524 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/9.084, allocations: 18.69 kB / 3.525 GB, free: 111.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/9.084, allocations: 347.1 kB / 3.525 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/9.086, allocations: 0.6102 MB / 3.525 GB, free: 111.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/9.088, allocations: 0.9085 MB / 3.526 GB, free: 110.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/9.089, allocations: 0.6597 MB / 3.527 GB, free: 110.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/9.089, allocations: 0 / 3.527 GB, free: 110.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00424/9.094, allocations: 1.64 MB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/9.094, allocations: 9.625 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/9.094, allocations: 7.844 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/9.094, allocations: 15 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/9.095, allocations: 311.7 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.866e-05/9.095, allocations: 18.03 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/9.097, allocations: 229.7 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/9.098, allocations: 60.05 kB / 3.529 GB, free: 110.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (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.001046/9.099, allocations: 346.6 kB / 3.53 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000587/9.099, allocations: 134.1 kB / 3.53 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/9.104, allocations: 1.644 MB / 3.531 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/9.104, allocations: 11.25 kB / 3.531 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/9.104, allocations: 0 / 3.531 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/9.104, allocations: 6.984 kB / 3.531 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/9.112, allocations: 3.142 MB / 3.534 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/9.112, allocations: 3.594 kB / 3.534 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/9.114, allocations: 246.6 kB / 3.535 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/9.114, allocations: 11.56 kB / 3.535 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/9.114, allocations: 34.34 kB / 3.535 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/9.114, allocations: 11.36 kB / 3.535 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/9.114, allocations: 7.562 kB / 3.535 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/9.12, allocations: 2.79 MB / 3.537 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/9.121, allocations: 354 kB / 3.538 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005389/9.122, allocations: 27.84 kB / 3.538 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/9.124, allocations: 145 kB / 3.538 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/9.124, allocations: 63.48 kB / 3.538 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/9.124, allocations: 40.88 kB / 3.538 GB, free: 109.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001701/9.126, allocations: 0.8772 MB / 3.539 GB, free: 109 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/9.126, allocations: 0 / 3.539 GB, free: 109 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002773/9.129, allocations: 0.5057 MB / 3.539 GB, free: 108.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.T,cooLimPow.T,heaCooUnl.T) * 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 (88): * Single equations (assignments): 82 * 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.01085/9.14, allocations: 6.315 MB / 3.545 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004472/9.144, allocations: 1.434 MB / 3.547 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/9.144, allocations: 3.312 kB / 3.547 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/9.146, allocations: 0.7317 MB / 3.548 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/9.15, allocations: 0.5835 MB / 3.548 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/9.172, allocations: 13.44 MB / 3.561 GB, free: 98.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/9.174, allocations: 1.203 MB / 3.562 GB, free: 98.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002356/9.176, allocations: 390.8 kB / 3.563 GB, free: 98.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/9.177, allocations: 0.5096 MB / 3.563 GB, free: 98.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.854e-06/9.177, allocations: 0 / 3.563 GB, free: 98.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/9.279, allocations: 60.12 MB / 3.622 GB, free: 44.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/9.28, allocations: 217.8 kB / 3.622 GB, free: 44.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.435/13.71, allocations: 3.938 kB / 3.622 GB, free: 44.63 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)