Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0009659/0.0009658, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 200 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.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.414 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7217, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001123/0.7228, allocations: 0.9811 MB / 0.9548 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004765/0.7233, allocations: 274.9 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.7234, allocations: 1.125 kB / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.7234, allocations: 0 / 0.9551 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.7234, allocations: 5.125 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.7237, allocations: 42.75 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.7237, allocations: 19.3 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.7238, allocations: 1.156 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.7238, allocations: 12.22 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.7239, allocations: 2.625 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.7239, allocations: 1.594 kB / 0.9552 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.724, allocations: 55.94 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.724, allocations: 5.141 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.724, allocations: 27.14 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.7241, allocations: 34.64 kB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7242, allocations: 3.984 kB / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7242, allocations: 0 / 0.9553 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.7242, allocations: 0 / 0.9553 GB, free: 6.977 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.0002732/0.7244, allocations: 329.8 kB / 0.9556 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7245, allocations: 17.27 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.7245, allocations: 35.66 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.7247, allocations: 22.64 kB / 0.9557 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.7248, allocations: 159.7 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.7248, allocations: 1.562 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.7249, allocations: 1.219 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/0.725, allocations: 48.47 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.725, allocations: 8 kB / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.725, allocations: 4.922 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.725, allocations: 0 / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.725, allocations: 12.94 kB / 0.9559 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.7252, allocations: 162.3 kB / 0.956 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.7268, allocations: 273.5 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.7269, allocations: 21.03 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.7269, allocations: 4 kB / 0.9563 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.7269, allocations: 31.91 kB / 0.9564 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.7269, allocations: 4 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001687/0.7271, allocations: 60.94 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.7271, allocations: 60.8 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.7272, allocations: 91.36 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.7272, allocations: 25.7 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-06/0.7272, allocations: 80.14 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.7272, allocations: 17.2 kB / 0.9567 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.7272, allocations: 5.469 kB / 0.9567 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.7273, allocations: 315 kB / 0.957 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.7273, allocations: 4.156 kB / 0.957 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.7273, allocations: 8.938 kB / 0.957 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.7273, allocations: 13.77 kB / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7274, allocations: 0 / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.4e-05/0.7274, allocations: 49.39 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7275, allocations: 5.094 kB / 0.9571 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7275, allocations: 9.047 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7275, allocations: 0 / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.7275, allocations: 5.906 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.7276, allocations: 7.953 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.7276, allocations: 1.344 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.7276, allocations: 1.531 kB / 0.9571 GB, free: 5.199 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 4.572e-05/0.7277, allocations: 110.8 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.7277, allocations: 1.375 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.7277, allocations: 7.5 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7277, allocations: 1.438 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7277, allocations: 0 / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7277, allocations: 13.14 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.051e-05/0.7278, allocations: 162.5 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7278, allocations: 0 / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.7279, allocations: 9.172 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7279, allocations: 1.5 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.7279, allocations: 3.984 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7279, allocations: 0 / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7279, allocations: 1 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.728, allocations: 90.17 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.728, allocations: 82.48 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.7281, allocations: 3.984 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.7281, allocations: 1.5 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.7281, allocations: 1.438 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.7281, allocations: 1.031 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.585e-05/0.7282, allocations: 79.94 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7282, allocations: 1.312 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001872/0.7284, allocations: 5.562 kB / 0.9576 GB, free: 4.578 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 (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 Backend phase and start with SimCode phase: time 0.0002249/0.7286, allocations: 0.6216 MB / 0.9582 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.7287, allocations: 18.88 kB / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7287, allocations: 0 / 0.9583 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.7287, allocations: 16.17 kB / 0.9583 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.7289, allocations: 11.36 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.7293, allocations: 170.8 kB / 0.9585 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.7294, allocations: 0.6769 MB / 0.9591 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.285e-05/0.7295, allocations: 5.5 kB / 0.9591 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.7295, allocations: 8.25 kB / 0.9591 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.7295, allocations: 5.25 kB / 0.9591 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.7416, allocations: 1.092 MB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.7418, allocations: 199 kB / 0.9604 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.462, allocations: 0 / 0.9604 GB, free: 2.297 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat