Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.0009943/0.0009945, allocations: 91.61 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.001183/0.001183, 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.43 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.479/2.479, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004591, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8216, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001602/0.8233, allocations: 1.203 MB / 0.955 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.8236, allocations: 116.4 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.8236, allocations: 5.125 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.8237, allocations: 0 / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.8237, allocations: 8.734 kB / 0.9551 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.8241, allocations: 61.64 kB / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.8242, allocations: 46.53 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8243, allocations: 19 kB / 0.9553 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.8244, allocations: 22.33 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.8244, allocations: 16.8 kB / 0.9553 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.8245, allocations: 6.406 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.8245, allocations: 2.344 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.8245, allocations: 14.53 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.8245, allocations: 36.8 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.8246, allocations: 29.88 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8246, allocations: 0 / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8246, allocations: 0 / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.8246, allocations: 1.125 kB / 0.9554 GB, free: 6.848 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004415/0.8251, allocations: 376.1 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8251, allocations: 9.75 kB / 0.9558 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.8252, allocations: 35.42 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.8252, allocations: 6.688 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.969e-05/0.8253, allocations: 178.3 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.8254, allocations: 30.02 kB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.8254, allocations: 2.281 kB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.8256, allocations: 88.55 kB / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8256, allocations: 0 / 0.9561 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.8257, allocations: 7.938 kB / 0.9561 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8257, allocations: 1.062 kB / 0.9561 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.8259, allocations: 59.11 kB / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.8264, allocations: 327.4 kB / 0.9565 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.8265, allocations: 54.36 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.8266, allocations: 35.33 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.8267, allocations: 5.188 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.8267, allocations: 31.66 kB / 0.9566 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8267, allocations: 0 / 0.9566 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003522/0.8271, allocations: 115.6 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.8271, allocations: 52.56 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.8272, allocations: 110.7 kB / 0.9568 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8272, allocations: 30.73 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.8272, allocations: 86.53 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.8272, allocations: 16.84 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.8273, allocations: 1.094 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.8273, allocations: 319.9 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.8274, allocations: 28.28 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.8275, allocations: 36.52 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.8276, allocations: 32.84 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8276, allocations: 0 / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.8278, allocations: 96.58 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8278, allocations: 13.59 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8278, allocations: 0 / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8279, allocations: 5.406 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.828, allocations: 19.83 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.828, allocations: 1.031 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.828, allocations: 10.44 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.828, allocations: 5.422 kB / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 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 prepare postOptimizeDAE: time 5.675e-05/0.8281, allocations: 120.7 kB / 0.9576 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.8281, allocations: 6.828 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.8282, allocations: 3.906 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8282, allocations: 1 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8282, allocations: 0.8125 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8282, allocations: 0 / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.8283, allocations: 180.3 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8283, allocations: 4 kB / 0.9578 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.8284, allocations: 18.73 kB / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8284, allocations: 9.109 kB / 0.9578 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.8284, allocations: 0 / 0.9578 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8284, allocations: 1.25 kB / 0.9578 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8284, allocations: 0 / 0.9578 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.8287, allocations: 191.2 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.8287, allocations: 78.48 kB / 0.9581 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.8287, allocations: 8.625 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.8288, allocations: 14.27 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.8289, allocations: 2.906 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8289, allocations: 1.438 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.8289, allocations: 89.36 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8289, allocations: 4 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002216/0.8292, allocations: 8.375 kB / 0.9582 GB, free: 4.094 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.0003926/0.8296, allocations: 0.7164 MB / 0.9589 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.8298, allocations: 62.61 kB / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8298, allocations: 1.625 kB / 0.959 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.8299, allocations: 31.7 kB / 0.959 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.8302, allocations: 10.77 kB / 0.959 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.831, allocations: 0.4891 MB / 0.9595 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.8311, allocations: 0.6857 MB / 0.9602 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.8312, allocations: 3.531 kB / 0.9602 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.8312, allocations: 13.25 kB / 0.9602 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8312, allocations: 1.812 kB / 0.9602 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.8431, allocations: 1.485 MB / 0.9616 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.8432, allocations: 201.6 kB / 0.9618 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.639, allocations: 1.375 kB / 0.9618 GB, free: 1.27 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat does not exist to compare? outputFormat=mat