Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_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.001421/0.001422, allocations: 174.3 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.7919/0.7919, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.652/1.652, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001035/0.001035, allocations: 93.52 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.495e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1822, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.486/1.669, allocations: 363.5 MB / 0.9955 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.669, allocations: 85.14 kB / 0.9956 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.78/5.449, allocations: 0.9519 GB / 1.947 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/5.449, allocations: 0 / 1.947 GB, free: 50.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001622/5.449, allocations: 55.92 kB / 1.947 GB, free: 50 MB / 0.6823 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.004081/5.453, allocations: 1.867 MB / 1.949 GB, free: 48.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/5.453, allocations: 8.031 kB / 1.949 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/5.453, allocations: 156.5 kB / 1.949 GB, free: 47.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/5.457, allocations: 0.6068 MB / 1.95 GB, free: 47.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/5.46, allocations: 1.432 MB / 1.951 GB, free: 45.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/5.46, allocations: 82 kB / 1.952 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/5.46, allocations: 104 kB / 1.952 GB, free: 45.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/5.463, allocations: 1.192 MB / 1.953 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/5.463, allocations: 0 / 1.953 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/5.463, allocations: 47.75 kB / 1.953 GB, free: 44.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/5.463, allocations: 24 kB / 1.953 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/5.464, allocations: 0.9366 MB / 1.954 GB, free: 43.37 MB / 0.6823 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.008307/5.473, allocations: 6.42 MB / 1.96 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/5.474, allocations: 0.9433 MB / 1.961 GB, free: 35.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/5.475, allocations: 0.5264 MB / 1.961 GB, free: 34.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001754/5.477, allocations: 2.265 MB / 1.964 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009427/5.478, allocations: 0.6792 MB / 1.964 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.627e-06/5.478, allocations: 0 / 1.964 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.0025/5.48, allocations: 1.326 MB / 1.966 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/5.48, allocations: 153.2 kB / 1.966 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/5.482, allocations: 1.025 MB / 1.967 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/5.482, allocations: 45.7 kB / 1.967 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/5.482, allocations: 0.686 MB / 1.968 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/5.483, allocations: 323.3 kB / 1.968 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/5.483, allocations: 24 kB / 1.968 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000116/5.483, allocations: 344.7 kB / 1.968 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/5.483, allocations: 417.9 kB / 1.969 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/5.484, allocations: 0.6691 MB / 1.969 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/5.485, allocations: 0.5386 MB / 1.97 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/5.485, allocations: 4 kB / 1.97 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002337/5.487, allocations: 1.472 MB / 1.971 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/5.488, allocations: 1.715 MB / 1.973 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/5.488, allocations: 8 kB / 1.973 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.353e-05/5.488, allocations: 8 kB / 1.973 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/5.489, allocations: 279.6 kB / 1.973 GB, free: 22.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/5.489, allocations: 15.97 kB / 1.973 GB, free: 22.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/5.491, allocations: 234.9 kB / 1.973 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/5.491, allocations: 59.97 kB / 1.973 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/5.491, allocations: 4 kB / 1.973 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001969/5.493, allocations: 1.374 MB / 1.975 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/5.493, allocations: 4 kB / 1.975 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/5.493, allocations: 11.98 kB / 1.975 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/5.494, allocations: 287.7 kB / 1.975 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/5.494, allocations: 8 kB / 1.975 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/5.496, allocations: 237.2 kB / 1.975 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/5.496, allocations: 63.2 kB / 1.975 GB, free: 19.82 MB / 0.6823 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.0003667/5.496, allocations: 267.6 kB / 1.976 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/5.497, allocations: 162.1 kB / 1.976 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/5.5, allocations: 2.034 MB / 1.978 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/5.5, allocations: 11.98 kB / 1.978 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/5.5, allocations: 4 kB / 1.978 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/5.5, allocations: 7.969 kB / 1.978 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/5.506, allocations: 3.395 MB / 1.981 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/5.506, allocations: 0 / 1.981 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/5.507, allocations: 235.1 kB / 1.981 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/5.507, allocations: 8 kB / 1.981 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/5.507, allocations: 39.97 kB / 1.981 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/5.507, allocations: 4 kB / 1.981 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.507, allocations: 0 / 1.981 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/5.511, allocations: 2.739 MB / 1.984 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/5.512, allocations: 410.5 kB / 1.984 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005859/5.513, allocations: 28 kB / 1.984 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/5.515, allocations: 167.8 kB / 1.985 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/5.515, allocations: 80.89 kB / 1.985 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/5.515, allocations: 55.91 kB / 1.985 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001871/5.517, allocations: 0.7857 MB / 1.986 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.01e-07/5.517, allocations: 0 / 1.986 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004193/5.521, allocations: 0.9274 MB / 1.986 GB, free: 8.238 MB / 0.6823 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.006708/5.528, allocations: 4.372 MB / 1.991 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003431/5.532, allocations: 2.298 MB / 1.993 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/5.532, allocations: 4 kB / 1.993 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/5.533, allocations: 0.9102 MB / 1.994 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/5.536, allocations: 0.6013 MB / 1.994 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/5.546, allocations: 2.848 MB / 1.997 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/5.548, allocations: 1.312 MB / 1.998 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003755/5.552, allocations: 0.4904 MB / 1.999 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/5.553, allocations: 0.632 MB / 2 GB, free: 10.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.696e-06/5.554, allocations: 3.938 kB / 2 GB, free: 10.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7181/6.272, allocations: 53.35 MB / 2.052 GB, free: 75.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.272, allocations: 193.6 kB / 2.052 GB, free: 74.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.376/10.65, allocations: 0 / 2.052 GB, free: 74.9 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)