Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001059/0.001059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000964/0.0009649, allocations: 172.7 kB / 15.95 MB, free: 208 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.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.246 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.424/2.424, allocations: 390.4 MB / 0.6655 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9, allocations: 142.3 MB / 0.9538 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001425/0.9015, allocations: 0.991 MB / 0.9548 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.9028, allocations: 0.8057 MB / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.9028, allocations: 0 / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.9029, allocations: 0 / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.9029, allocations: 8.828 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.9034, allocations: 162.6 kB / 0.9558 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.9035, allocations: 15.72 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.9035, allocations: 1.375 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.9036, allocations: 8.812 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.9036, allocations: 7.641 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.9036, allocations: 0 / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.904, allocations: 182.2 kB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.904, allocations: 4 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.904, allocations: 32.27 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.9042, allocations: 102.9 kB / 0.9561 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.9042, allocations: 0 / 0.9561 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9042, allocations: 1 kB / 0.9561 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.9042, allocations: 0 / 0.9561 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003517/0.9046, allocations: 360.4 kB / 0.9564 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.9046, allocations: 8.906 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.9047, allocations: 31.59 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.9048, allocations: 8.672 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.434e-05/0.9049, allocations: 164.2 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.905, allocations: 9.234 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.905, allocations: 1.25 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.9051, allocations: 45.19 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.9051, allocations: 0 / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9051, allocations: 3.953 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.9051, allocations: 1.156 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.658e-05/0.9052, allocations: 24.88 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.9054, allocations: 154 kB / 0.9569 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.9061, allocations: 121.9 kB / 0.957 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.9062, allocations: 20.22 kB / 0.957 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.9063, allocations: 86.92 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.9063, allocations: 35.41 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9063, allocations: 3.938 kB / 0.9571 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000174/0.9065, allocations: 61.08 kB / 0.9572 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.9066, allocations: 56.45 kB / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.794e-05/0.9066, allocations: 98.98 kB / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.9066, allocations: 26.7 kB / 0.9574 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.9066, allocations: 80.14 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.9067, allocations: 14.23 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.9067, allocations: 0 / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.9067, allocations: 320.1 kB / 0.9578 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.9068, allocations: 4 kB / 0.9578 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.9068, allocations: 12.44 kB / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.9068, allocations: 16.92 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9068, allocations: 0.9375 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.412e-05/0.9069, allocations: 53.44 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.9069, allocations: 6.75 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.9069, allocations: 0 / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9069, allocations: 0 / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.907, allocations: 5.844 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.907, allocations: 5.016 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.9071, allocations: 3.938 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.9071, allocations: 2.156 kB / 0.9579 GB, free: 4.492 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 (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.9071, allocations: 111.1 kB / 0.958 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.9072, allocations: 6.156 kB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.9074, allocations: 86.31 kB / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.9074, allocations: 0 / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9074, allocations: 5.094 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9074, allocations: 3.953 kB / 0.9581 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.9075, allocations: 155.6 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9075, allocations: 0 / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.9076, allocations: 7.875 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9076, allocations: 0 / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.9076, allocations: 9.094 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9076, allocations: 0 / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9076, allocations: 1.312 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.9077, allocations: 92.39 kB / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.9078, allocations: 87.12 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.9078, allocations: 1.125 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.9078, allocations: 1.359 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.9079, allocations: 6.172 kB / 0.9584 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.9079, allocations: 5.094 kB / 0.9584 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.9079, allocations: 76.34 kB / 0.9585 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9079, allocations: 0 / 0.9585 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002499/0.9081, allocations: 41.12 kB / 0.9585 GB, free: 3.809 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): 5 * 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 Backend phase and start with SimCode phase: time 0.0005336/0.9087, allocations: 0.6994 MB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.9088, allocations: 31.11 kB / 0.9592 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9088, allocations: 5 kB / 0.9592 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.9089, allocations: 17.77 kB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.909, allocations: 3.375 kB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.9095, allocations: 179.8 kB / 0.9594 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.9096, allocations: 0.6775 MB / 0.9601 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.05e-05/0.9097, allocations: 13.05 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.9098, allocations: 10.47 kB / 0.9601 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 1.693e-06/0.9098, allocations: 3.938 kB / 0.9601 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.9215, allocations: 1.706 MB / 0.9618 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.9217, allocations: 244.5 kB / 0.962 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.617, allocations: 0 / 0.962 GB, free: 1.188 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat does not exist to compare? outputFormat=mat