Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.983/1.983, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 179 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 99.67 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.446e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.71/0.9125, allocations: 175.9 MB / 1.384 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.9127, allocations: 73.78 kB / 1.384 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003542/0.9163, allocations: 1.644 MB / 1.386 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9163, allocations: 0 / 1.386 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9163, allocations: 3.938 kB / 1.386 GB, free: 32.97 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002203/0.9165, allocations: 329.7 kB / 1.386 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.9166, allocations: 7.719 kB / 1.386 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.9166, allocations: 7.859 kB / 1.386 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.9167, allocations: 163.8 kB / 1.386 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.9167, allocations: 29.61 kB / 1.386 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.9168, allocations: 3.938 kB / 1.386 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.592e-05/0.9168, allocations: 10.41 kB / 1.386 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.636e-05/0.9169, allocations: 29.55 kB / 1.386 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.9169, allocations: 0 / 1.386 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.9169, allocations: 7.953 kB / 1.386 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9169, allocations: 6.938 kB / 1.386 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.256e-05/0.917, allocations: 129.2 kB / 1.387 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.917, allocations: 31.88 kB / 1.387 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.9171, allocations: 12.36 kB / 1.387 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.9172, allocations: 87.8 kB / 1.387 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.9172, allocations: 34.56 kB / 1.387 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9172, allocations: 0 / 1.387 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.9174, allocations: 45.5 kB / 1.387 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.9174, allocations: 52.17 kB / 1.387 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.9175, allocations: 89.06 kB / 1.387 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.9175, allocations: 25.7 kB / 1.387 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.9175, allocations: 83.33 kB / 1.387 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9175, allocations: 14.08 kB / 1.387 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.9175, allocations: 0 / 1.387 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.9176, allocations: 318.8 kB / 1.387 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.9176, allocations: 9.047 kB / 1.387 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-06/0.9177, allocations: 4.031 kB / 1.387 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.9177, allocations: 6.75 kB / 1.387 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.9177, allocations: 3.844 kB / 1.387 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.362e-05/0.9178, allocations: 43.31 kB / 1.387 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9178, allocations: 6.812 kB / 1.387 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9178, allocations: 0 / 1.387 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.9179, allocations: 0 / 1.387 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.9179, allocations: 9.719 kB / 1.387 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.9179, allocations: 3.969 kB / 1.387 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.918, allocations: 0 / 1.387 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.918, allocations: 2.812 kB / 1.387 GB, free: 31.35 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.377e-05/0.918, allocations: 104.9 kB / 1.388 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.414e-05/0.9181, allocations: 54.91 kB / 1.388 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.9181, allocations: 0 / 1.388 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.9182, allocations: 50.86 kB / 1.388 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9183, allocations: 0 / 1.388 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.9183, allocations: 4 kB / 1.388 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9183, allocations: 3.047 kB / 1.388 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.96e-05/0.9183, allocations: 137.4 kB / 1.388 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9183, allocations: 2.906 kB / 1.388 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.9184, allocations: 7.75 kB / 1.388 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9184, allocations: 7.906 kB / 1.388 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9184, allocations: 2.312 kB / 1.388 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9184, allocations: 0 / 1.388 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.9184, allocations: 0 / 1.388 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/0.9185, allocations: 77.09 kB / 1.388 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.9185, allocations: 87.2 kB / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.9185, allocations: 0 / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.788e-05/0.9186, allocations: 0 / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.9186, allocations: 6.469 kB / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.9186, allocations: 0 / 1.388 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.9187, allocations: 75.28 kB / 1.388 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9187, allocations: 0 / 1.388 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001792/0.9188, allocations: 15.47 kB / 1.388 GB, free: 30.74 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003734/0.9192, allocations: 0.6554 MB / 1.389 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.9193, allocations: 11.66 kB / 1.389 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9193, allocations: 0 / 1.389 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.9193, allocations: 7.516 kB / 1.389 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9195, allocations: 10.02 kB / 1.389 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.9197, allocations: 93.66 kB / 1.389 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.9199, allocations: 0.6794 MB / 1.389 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.9199, allocations: 3.984 kB / 1.389 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.9199, allocations: 18.56 kB / 1.389 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.92, allocations: 0 / 1.389 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.9371, allocations: 1.102 MB / 1.391 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.9373, allocations: 163 kB / 1.391 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/2.347, allocations: 0 / 1.391 GB, free: 28.84 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat