Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_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.001603/0.001603, allocations: 174.8 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.8406/0.8406, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.603/1.603, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.001017/0.001018, allocations: 99.75 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.524e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.603, allocations: 363.5 MB / 0.9955 GB, free: 258 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.604, allocations: 86.98 kB / 0.9956 GB, free: 258 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.776/5.38, allocations: 0.9519 GB / 1.947 GB, free: 83.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/5.38, allocations: 0 / 1.947 GB, free: 83.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002902/5.38, allocations: 54.61 kB / 1.947 GB, free: 83.38 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005051/5.385, allocations: 1.868 MB / 1.949 GB, free: 81.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/5.385, allocations: 11.44 kB / 1.949 GB, free: 81.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000514/5.386, allocations: 158.4 kB / 1.949 GB, free: 81.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/5.389, allocations: 0.6159 MB / 1.95 GB, free: 81.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/5.394, allocations: 1.425 MB / 1.951 GB, free: 80.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/5.394, allocations: 76.53 kB / 1.952 GB, free: 80.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/5.394, allocations: 115.8 kB / 1.952 GB, free: 80.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/5.397, allocations: 1.176 MB / 1.953 GB, free: 79.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/5.397, allocations: 13.94 kB / 1.953 GB, free: 79.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/5.397, allocations: 43.16 kB / 1.953 GB, free: 79.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/5.397, allocations: 26.59 kB / 1.953 GB, free: 79.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/5.399, allocations: 0.9279 MB / 1.954 GB, free: 79.43 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.009146/5.408, allocations: 6.407 MB / 1.96 GB, free: 73.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/5.409, allocations: 0.9456 MB / 1.961 GB, free: 73.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/5.41, allocations: 0.5222 MB / 1.961 GB, free: 73.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/5.412, allocations: 2.259 MB / 1.964 GB, free: 70.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/5.413, allocations: 0.6892 MB / 1.964 GB, free: 70.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 5.219e-06/5.413, allocations: 3.781 kB / 1.964 GB, free: 70.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.0025/5.415, allocations: 1.328 MB / 1.966 GB, free: 69.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/5.415, allocations: 151 kB / 1.966 GB, free: 69.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/5.417, allocations: 1.019 MB / 1.967 GB, free: 68.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/5.418, allocations: 48.7 kB / 1.967 GB, free: 68.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/5.418, allocations: 0.6886 MB / 1.968 GB, free: 68.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/5.419, allocations: 324.8 kB / 1.968 GB, free: 67.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/5.419, allocations: 19.66 kB / 1.968 GB, free: 67.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/5.419, allocations: 347.4 kB / 1.968 GB, free: 67.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/5.42, allocations: 422.9 kB / 1.969 GB, free: 67.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/5.42, allocations: 0.6631 MB / 1.969 GB, free: 66.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/5.421, allocations: 0.5436 MB / 1.97 GB, free: 66.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/5.421, allocations: 3.125 kB / 1.97 GB, free: 66.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002776/5.424, allocations: 1.463 MB / 1.971 GB, free: 65.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005778/5.425, allocations: 1.715 MB / 1.973 GB, free: 63.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/5.425, allocations: 3.844 kB / 1.973 GB, free: 63.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-05/5.425, allocations: 11.81 kB / 1.973 GB, free: 63.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/5.426, allocations: 286 kB / 1.973 GB, free: 63.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/5.426, allocations: 11.53 kB / 1.973 GB, free: 63.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/5.428, allocations: 238.2 kB / 1.973 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/5.428, allocations: 60.59 kB / 1.973 GB, free: 63.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/5.428, allocations: 3.75 kB / 1.973 GB, free: 63.73 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/5.43, allocations: 1.373 MB / 1.975 GB, free: 63.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/5.43, allocations: 7.25 kB / 1.975 GB, free: 63.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/5.43, allocations: 7.844 kB / 1.975 GB, free: 63.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/5.432, allocations: 282.6 kB / 1.975 GB, free: 63.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/5.432, allocations: 15.84 kB / 1.975 GB, free: 63.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/5.433, allocations: 235.3 kB / 1.975 GB, free: 62.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/5.434, allocations: 63.69 kB / 1.975 GB, free: 62.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0003952/5.434, allocations: 266.3 kB / 1.976 GB, free: 62.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/5.434, allocations: 156 kB / 1.976 GB, free: 62.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/5.438, allocations: 2.032 MB / 1.978 GB, free: 61.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/5.438, allocations: 15.98 kB / 1.978 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/5.438, allocations: 0 / 1.978 GB, free: 61.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/5.438, allocations: 7.969 kB / 1.978 GB, free: 61.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/5.444, allocations: 3.393 MB / 1.981 GB, free: 57.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/5.444, allocations: 10.3 kB / 1.981 GB, free: 57.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/5.445, allocations: 238.2 kB / 1.981 GB, free: 57.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/5.445, allocations: 11.94 kB / 1.981 GB, free: 57.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/5.445, allocations: 43.97 kB / 1.981 GB, free: 57.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/5.445, allocations: 11.98 kB / 1.981 GB, free: 57.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/5.445, allocations: 0 / 1.981 GB, free: 57.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/5.449, allocations: 2.729 MB / 1.984 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/5.45, allocations: 402.6 kB / 1.984 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/5.45, allocations: 28 kB / 1.984 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/5.452, allocations: 171.8 kB / 1.985 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/5.452, allocations: 72.89 kB / 1.985 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/5.452, allocations: 57.92 kB / 1.985 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001383/5.453, allocations: 0.7896 MB / 1.986 GB, free: 53.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/5.453, allocations: 0 / 1.986 GB, free: 53.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003288/5.457, allocations: 0.9192 MB / 1.986 GB, free: 52.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.005841/5.462, allocations: 4.371 MB / 1.991 GB, free: 48.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003118/5.466, allocations: 2.298 MB / 1.993 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/5.466, allocations: 0.625 kB / 1.993 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/5.467, allocations: 0.9212 MB / 1.994 GB, free: 44.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/5.47, allocations: 0.593 MB / 1.994 GB, free: 44.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/5.477, allocations: 2.859 MB / 1.997 GB, free: 41.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/5.478, allocations: 1.312 MB / 1.998 GB, free: 39.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002364/5.48, allocations: 0.492 MB / 1.999 GB, free: 39.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/5.481, allocations: 0.6398 MB / 2 GB, free: 38.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/5.481, allocations: 0 / 2 GB, free: 38.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.761/6.242, allocations: 53.35 MB / 2.052 GB, free: 89.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/6.242, allocations: 196.3 kB / 2.052 GB, free: 89.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/10.57, allocations: 1.562 kB / 2.052 GB, free: 89.12 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)