Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0008778/0.0008776, 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.001045/0.001045, 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.332/1.332, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7321/0.7321, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003228, allocations: 8 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4765, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2062/0.6827, allocations: 176.3 MB / 0.7553 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008718/0.6915, allocations: 4.889 MB / 0.7601 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.693, allocations: 43.62 kB / 0.7602 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.6948, allocations: 0.618 MB / 0.7608 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.7014, allocations: 1.89 MB / 0.7626 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.7043, allocations: 0.9053 MB / 0.7635 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.7085, allocations: 3.073 MB / 0.7665 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.7097, allocations: 0.7775 MB / 0.7673 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.7118, allocations: 0.9999 MB / 0.7682 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.7131, allocations: 0.9457 MB / 0.7692 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.7132, allocations: 48 kB / 0.7692 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.7156, allocations: 0.9431 MB / 0.7701 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.716, allocations: 406.7 kB / 0.7705 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.7164, allocations: 265 kB / 0.7708 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.718, allocations: 1.383 MB / 0.7721 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.718, allocations: 0 / 0.7721 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.718, allocations: 0 / 0.7721 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.718, allocations: 0 / 0.7721 GB, free: 14.56 MB / 0.6075 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.00428/0.7223, allocations: 1.72 MB / 0.7738 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7223, allocations: 12.03 kB / 0.7738 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.7225, allocations: 139.6 kB / 0.7739 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.7272, allocations: 0.9229 MB / 0.7748 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.7287, allocations: 0.8601 MB / 0.7757 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.7287, allocations: 73.94 kB / 0.7757 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.7289, allocations: 95.97 kB / 0.7758 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.7323, allocations: 1.567 MB / 0.7774 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7323, allocations: 0 / 0.7774 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.7325, allocations: 47.92 kB / 0.7774 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/0.7325, allocations: 49.98 kB / 0.7775 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.7372, allocations: 1.83 MB / 0.7792 GB, free: 7.09 MB / 0.6075 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.00712/0.7443, allocations: 4.746 MB / 0.7839 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.7482, allocations: 1.595 MB / 0.7854 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.7502, allocations: 0.8508 MB / 0.7863 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.7515, allocations: 0.9569 MB / 0.7872 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/0.7537, allocations: 0.9033 MB / 0.7881 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/0.7537, allocations: 3.938 kB / 0.7881 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.006906/0.7607, allocations: 2.439 MB / 0.7905 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.7607, allocations: 60.41 kB / 0.7905 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.7623, allocations: 1.189 MB / 0.7917 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.7625, allocations: 53.7 kB / 0.7917 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.7629, allocations: 0.5409 MB / 0.7923 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.7633, allocations: 327.3 kB / 0.7926 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.7634, allocations: 20 kB / 0.7926 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7635, allocations: 341.9 kB / 0.7929 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.7654, allocations: 0.6927 MB / 0.7936 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.7675, allocations: 0.9035 MB / 0.7945 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.7694, allocations: 0.729 MB / 0.7952 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.7694, allocations: 0 / 0.7952 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004605/0.774, allocations: 1.772 MB / 0.7969 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.7741, allocations: 8 kB / 0.7969 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7741, allocations: 4.438 kB / 0.7969 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.7742, allocations: 16 kB / 0.797 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.7758, allocations: 335.5 kB / 0.7973 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.7758, allocations: 15.94 kB / 0.7973 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.7774, allocations: 254.6 kB / 0.7975 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.7775, allocations: 47.97 kB / 0.7976 GB, free: 3.754 MB / 0.6231 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.0006168/0.7781, allocations: 337.3 kB / 0.7979 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.7783, allocations: 138.3 kB / 0.798 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.7829, allocations: 1.788 MB / 0.7998 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.783, allocations: 19.94 kB / 0.7998 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.783, allocations: 0 / 0.7998 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.783, allocations: 3.984 kB / 0.7998 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.7896, allocations: 3.324 MB / 0.803 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7896, allocations: 4 kB / 0.8031 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.7912, allocations: 288.1 kB / 0.8033 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.7912, allocations: 8 kB / 0.8033 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.7913, allocations: 31.97 kB / 0.8034 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.7913, allocations: 11.94 kB / 0.8034 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7913, allocations: 7.938 kB / 0.8034 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006675/0.798, allocations: 2.835 MB / 0.8062 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/0.7987, allocations: 327.2 kB / 0.8065 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.7989, allocations: 28 kB / 0.8065 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8002, allocations: 179.6 kB / 0.8067 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.8004, allocations: 76.45 kB / 0.8067 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.8005, allocations: 40.09 kB / 0.8068 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001086/0.8016, allocations: 0.8237 MB / 0.8076 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8016, allocations: 3.938 kB / 0.8076 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001116/0.8027, allocations: 331.7 kB / 0.8079 GB, free: 8.98 MB / 0.6387 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 (95): * Single equations (assignments): 89 * 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.0083/0.811, allocations: 3.8 MB / 0.8116 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004569/0.8156, allocations: 1.615 MB / 0.8132 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.8156, allocations: 0 / 0.8132 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.8179, allocations: 0.8283 MB / 0.814 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.821, allocations: 0.6051 MB / 0.8146 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3195/1.14, allocations: 9.508 MB / 0.8239 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.142, allocations: 1.185 MB / 0.825 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002168/1.144, allocations: 366.6 kB / 0.8254 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009582/1.145, allocations: 0.5011 MB / 0.8259 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.145, allocations: 0 / 0.8259 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/1.203, allocations: 33.72 MB / 0.8588 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/1.203, allocations: 218.1 kB / 0.859 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.816, allocations: 0 / 0.859 GB, free: 193.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: