Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.0008154/0.0008156, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008363/0.0008364, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 8 kB / 0.5071 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2033, allocations: 82.31 MB / 0.5875 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3903/0.5936, allocations: 26.9 MB / 0.6137 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008365/0.602, allocations: 6.475 MB / 0.6201 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.6034, allocations: 43.72 kB / 0.6201 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.6049, allocations: 0.5486 MB / 0.6206 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.6082, allocations: 1.193 MB / 0.6218 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.6109, allocations: 0.9356 MB / 0.6227 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003749/0.6146, allocations: 2.773 MB / 0.6254 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.616, allocations: 0.6402 MB / 0.6261 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.618, allocations: 0.8914 MB / 0.6269 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.6191, allocations: 0.7555 MB / 0.6277 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.6192, allocations: 35.69 kB / 0.6277 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.6208, allocations: 0.4915 MB / 0.6282 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.6211, allocations: 242.6 kB / 0.6284 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.6214, allocations: 229.5 kB / 0.6286 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.6225, allocations: 1.03 MB / 0.6296 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6225, allocations: 2.938 kB / 0.6296 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6225, allocations: 0 / 0.6296 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6226, allocations: 0 / 0.6296 GB, free: 31.64 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002199/0.6248, allocations: 1.373 MB / 0.631 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6248, allocations: 12.81 kB / 0.631 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.6249, allocations: 115.1 kB / 0.6311 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.6278, allocations: 0.6257 MB / 0.6317 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6289, allocations: 0.765 MB / 0.6325 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.6289, allocations: 58.12 kB / 0.6325 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.6291, allocations: 71.81 kB / 0.6326 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.631, allocations: 1.106 MB / 0.6337 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.631, allocations: 3.938 kB / 0.6337 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.6311, allocations: 29.44 kB / 0.6337 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6311, allocations: 20.48 kB / 0.6337 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.6336, allocations: 1.018 MB / 0.6347 GB, free: 29.25 MB / 0.4981 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.005048/0.6387, allocations: 4.974 MB / 0.6396 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.6411, allocations: 0.9502 MB / 0.6405 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.6423, allocations: 499.7 kB / 0.641 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.6434, allocations: 1.605 MB / 0.6425 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.6447, allocations: 0.5793 MB / 0.6431 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.827e-06/0.6447, allocations: 0 / 0.6431 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004049/0.6488, allocations: 1.513 MB / 0.6446 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6488, allocations: 61.09 kB / 0.6446 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.6501, allocations: 1.115 MB / 0.6457 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.6502, allocations: 42.95 kB / 0.6458 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.6506, allocations: 0.5381 MB / 0.6463 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.6508, allocations: 219.8 kB / 0.6465 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.6508, allocations: 17.38 kB / 0.6465 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.6509, allocations: 337.5 kB / 0.6468 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.6521, allocations: 461.6 kB / 0.6473 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.6535, allocations: 0.7189 MB / 0.648 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6549, allocations: 0.4898 MB / 0.6485 GB, free: 20.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.655, allocations: 2.312 kB / 0.6485 GB, free: 20.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003393/0.6584, allocations: 1.287 MB / 0.6497 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.6584, allocations: 11.53 kB / 0.6497 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6584, allocations: 8 kB / 0.6497 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.6585, allocations: 12.78 kB / 0.6498 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.6596, allocations: 274.8 kB / 0.65 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/0.6597, allocations: 16.16 kB / 0.65 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6609, allocations: 206.5 kB / 0.6502 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6611, allocations: 52.69 kB / 0.6503 GB, free: 19.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005291/0.6616, allocations: 288.8 kB / 0.6506 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.6618, allocations: 119.1 kB / 0.6507 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.6657, allocations: 1.383 MB / 0.652 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/0.6657, allocations: 9.516 kB / 0.652 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6658, allocations: 0 / 0.652 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6658, allocations: 9.156 kB / 0.652 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/0.6709, allocations: 2.397 MB / 0.6544 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6709, allocations: 1.969 kB / 0.6544 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009731/0.6719, allocations: 189.5 kB / 0.6546 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.6719, allocations: 4.875 kB / 0.6546 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.672, allocations: 29.11 kB / 0.6546 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.672, allocations: 8.938 kB / 0.6546 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.672, allocations: 1.781 kB / 0.6546 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.6768, allocations: 1.996 MB / 0.6566 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.6773, allocations: 288.4 kB / 0.6568 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6775, allocations: 27.72 kB / 0.6569 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.6784, allocations: 125.3 kB / 0.657 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6785, allocations: 49.41 kB / 0.657 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.6786, allocations: 38.09 kB / 0.6571 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001119/0.6797, allocations: 0.7556 MB / 0.6578 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6798, allocations: 0 / 0.6578 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001193/0.681, allocations: 343.5 kB / 0.6581 GB, free: 16.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006275/0.6872, allocations: 3.1 MB / 0.6612 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003298/0.6906, allocations: 1.128 MB / 0.6623 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.6906, allocations: 2.094 kB / 0.6623 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.6922, allocations: 0.5835 MB / 0.6628 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6944, allocations: 431.9 kB / 0.6632 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.7107, allocations: 7.628 MB / 0.6707 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/0.7115, allocations: 1.108 MB / 0.6718 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001319/0.7129, allocations: 243.9 kB / 0.672 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.7135, allocations: 460 kB / 0.6724 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.7135, allocations: 0.9688 kB / 0.6724 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.7651, allocations: 29.12 MB / 0.7009 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.7653, allocations: 226 kB / 0.7011 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.318, allocations: 0 / 0.7011 GB, free: 6.844 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: