Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",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.00148/0.00148, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001836/0.001836, allocations: 177.3 kB / 15.95 MB, free: 216 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.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8516, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.0016/0.8533, allocations: 1.216 MB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000832/0.8541, allocations: 0.5815 MB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.8542, allocations: 1.438 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.8542, allocations: 7.922 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.8543, allocations: 14.56 kB / 0.9554 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.8547, allocations: 121.7 kB / 0.9555 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8548, allocations: 38.28 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.8549, allocations: 18.11 kB / 0.9555 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.8549, allocations: 15.41 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.855, allocations: 14.27 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.855, allocations: 2.625 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.8554, allocations: 241.5 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.8554, allocations: 9.859 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.8555, allocations: 29.27 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.8557, allocations: 112.5 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8557, allocations: 1 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8557, allocations: 4 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.8557, allocations: 3.938 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004139/0.8561, allocations: 389.6 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8562, allocations: 9.625 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.8562, allocations: 39.61 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.8565, allocations: 29.03 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8566, allocations: 170.8 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.8566, allocations: 2.25 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.8566, allocations: 2 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.8568, allocations: 78.91 kB / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8569, allocations: 0 / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8569, allocations: 5.016 kB / 0.9566 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8569, allocations: 1.031 kB / 0.9566 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.8571, allocations: 77.72 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.8575, allocations: 304.6 kB / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.8577, allocations: 77.44 kB / 0.9571 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.8578, allocations: 8.906 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.8578, allocations: 35.81 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.8578, allocations: 4 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004025/0.8582, allocations: 131.4 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.8582, allocations: 52.66 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.8583, allocations: 110.6 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.8583, allocations: 29.7 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.8584, allocations: 90.88 kB / 0.9575 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.8584, allocations: 17.25 kB / 0.9575 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.8584, allocations: 1.562 kB / 0.9575 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.8585, allocations: 314.8 kB / 0.9578 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.77e-05/0.8586, allocations: 35.44 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.8587, allocations: 25.8 kB / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.8588, allocations: 34.41 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8588, allocations: 0 / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000229/0.859, allocations: 114.1 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.859, allocations: 5.312 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.859, allocations: 0 / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8591, allocations: 0 / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.86, allocations: 111.6 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.861, allocations: 1.385 MB / 0.9595 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.8611, allocations: 6.906 kB / 0.9595 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.8611, allocations: 5.703 kB / 0.9595 GB, free: 2.852 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.8612, allocations: 113.9 kB / 0.9596 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.8612, allocations: 6.359 kB / 0.9596 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.8618, allocations: 159.7 kB / 0.9598 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8618, allocations: 3.984 kB / 0.9598 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.8618, allocations: 5.875 kB / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8618, allocations: 0 / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.862, allocations: 176.7 kB / 0.96 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.862, allocations: 0 / 0.96 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.8621, allocations: 15.36 kB / 0.96 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.8625, allocations: 46.69 kB / 0.96 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8625, allocations: 5.375 kB / 0.96 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009642/0.8635, allocations: 1.363 MB / 0.9614 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8635, allocations: 1.375 kB / 0.9614 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.864, allocations: 242.3 kB / 0.9616 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.8641, allocations: 82.48 kB / 0.9617 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.8641, allocations: 9.297 kB / 0.9617 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.8642, allocations: 6.875 kB / 0.9617 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.8642, allocations: 10.73 kB / 0.9617 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8643, allocations: 1.375 kB / 0.9617 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.977e-05/0.8643, allocations: 84.78 kB / 0.9618 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8643, allocations: 3.938 kB / 0.9618 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002638/0.8646, allocations: 15.12 kB / 0.9618 GB, free: 0.5742 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007364/0.8653, allocations: 0.7796 MB / 0.9626 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.8664, allocations: 161 kB / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8664, allocations: 0 / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.8668, allocations: 157.7 kB / 0.9629 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.8671, allocations: 14.61 kB / 0.9629 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.8684, allocations: 0.551 MB / 0.9634 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.8687, allocations: 0.6879 MB / 0.9641 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.8687, allocations: 2.469 kB / 0.9641 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.8688, allocations: 18.08 kB / 0.9641 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8688, allocations: 0 / 0.9641 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.8853, allocations: 1.963 MB / 0.966 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.8856, allocations: 223.1 kB / 0.9662 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.658, allocations: 0 / 0.9662 GB, free: 13.34 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat does not exist to compare? outputFormat=mat