Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_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.001381/0.00138, allocations: 99.55 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.00156/0.00156, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.78/2.78, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.245/5.245, allocations: 409.2 MB / 0.6838 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008559/0.000856, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705/1.706, allocations: 146.8 MB / 0.9808 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00304/1.709, allocations: 1.198 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005478/1.709, allocations: 111.6 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/1.709, allocations: 4 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/1.709, allocations: 3.938 kB / 0.9821 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/1.71, allocations: 7.984 kB / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/1.71, allocations: 62.53 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/1.71, allocations: 31.97 kB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/1.711, allocations: 15.97 kB / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/1.711, allocations: 19.92 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/1.711, allocations: 23.91 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/1.711, allocations: 4 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.62e-05/1.711, allocations: 4 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/1.711, allocations: 11.92 kB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/1.711, allocations: 29.7 kB / 0.9823 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/1.711, allocations: 27.94 kB / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.711, allocations: 0 / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.105e-06/1.711, allocations: 0 / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.711, allocations: 4 kB / 0.9824 GB, free: 4.723 MB / 0.7325 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.0008966/1.712, allocations: 381.3 kB / 0.9827 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/1.712, allocations: 8.031 kB / 0.9827 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.25e-05/1.712, allocations: 42.5 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/1.712, allocations: 0 / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/1.713, allocations: 175 kB / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.713, allocations: 29.7 kB / 0.983 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/1.713, allocations: 11.95 kB / 0.983 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/1.713, allocations: 81.64 kB / 0.9831 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.713, allocations: 0 / 0.9831 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.713, allocations: 0 / 0.9831 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.713, allocations: 4 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.713, allocations: 59.89 kB / 0.9831 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/1.714, allocations: 328.7 kB / 0.9834 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/1.715, allocations: 50.56 kB / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/1.715, allocations: 0 / 0.9835 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.715, allocations: 38.58 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/1.715, allocations: 4 kB / 0.9835 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005876/1.715, allocations: 113.5 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.715, allocations: 51.41 kB / 0.9837 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/1.716, allocations: 117.8 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/1.716, allocations: 25.7 kB / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.716, allocations: 84.14 kB / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/1.716, allocations: 23.8 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.716, allocations: 0 / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002327/1.716, allocations: 322.8 kB / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/1.716, allocations: 31.92 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.716, allocations: 45.62 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/1.717, allocations: 23.98 kB / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.717, allocations: 0 / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003324/1.717, allocations: 97.84 kB / 0.9844 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.717, allocations: 10.02 kB / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.717, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.717, allocations: 4.031 kB / 0.9844 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.717, allocations: 19.97 kB / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.717, allocations: 4 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/1.717, allocations: 11.89 kB / 0.9845 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.717, allocations: 7.938 kB / 0.9845 GB, free: 2.324 MB / 0.7325 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 0.0001583/1.718, allocations: 113.8 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/1.718, allocations: 4 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/1.718, allocations: 11.89 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.718, allocations: 8 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.718, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.718, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/1.718, allocations: 173.6 kB / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.718, allocations: 0 / 0.9848 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/1.718, allocations: 12 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.718, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.718, allocations: 3.984 kB / 0.9848 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.718, allocations: 4.125 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.718, allocations: 4 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/1.719, allocations: 187.4 kB / 0.985 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/1.719, allocations: 85.06 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.719, allocations: 0 / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.719, allocations: 19.98 kB / 0.9851 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/1.719, allocations: 3.984 kB / 0.9851 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.719, allocations: 4 kB / 0.9851 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.471e-05/1.719, allocations: 87.27 kB / 0.9852 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.719, allocations: 0 / 0.9852 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003599/1.72, allocations: 12 kB / 0.9852 GB, free: 1.508 MB / 0.7325 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.0009649/1.721, allocations: 0.7201 MB / 0.9859 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003445/1.721, allocations: 63.95 kB / 0.9859 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.721, allocations: 0 / 0.9859 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/1.721, allocations: 35.91 kB / 0.986 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/1.721, allocations: 12 kB / 0.986 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/1.723, allocations: 0.4949 MB / 0.9865 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.723, allocations: 0.6887 MB / 0.9871 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.553e-05/1.723, allocations: 4 kB / 0.9871 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/1.723, allocations: 15.44 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/1.723, allocations: 0 / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/1.747, allocations: 1.458 MB / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/1.747, allocations: 198.8 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/4.831, allocations: 4 kB / 0.9888 GB, free: 13.81 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat does not exist to compare? outputFormat=mat