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.0007849/0.0007849, allocations: 90.75 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.0008239/0.0008242, 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.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.72/2.72, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004414, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7459, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001593/0.7475, allocations: 1.198 MB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.7479, allocations: 115.8 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.7479, allocations: 4 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.7479, allocations: 3.938 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.748, allocations: 7.922 kB / 0.9824 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.7483, allocations: 62.78 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.7484, allocations: 55.78 kB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.7485, allocations: 11.97 kB / 0.9825 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.7486, allocations: 19.98 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.7487, allocations: 23.86 kB / 0.9826 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.7487, allocations: 4 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.7487, allocations: 0 / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.7487, allocations: 11.98 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.7488, allocations: 29.7 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.7488, allocations: 39.86 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7488, allocations: 0 / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7489, allocations: 0 / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.7489, allocations: 0 / 0.9827 GB, free: 4.656 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.0004769/0.7493, allocations: 373.4 kB / 0.983 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.7494, allocations: 8.031 kB / 0.983 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.7494, allocations: 34.56 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.7495, allocations: 4 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7496, allocations: 171 kB / 0.9832 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.7497, allocations: 29.7 kB / 0.9833 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.7497, allocations: 11.95 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.7499, allocations: 77.66 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7499, allocations: 0 / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7499, allocations: 11.88 kB / 0.9834 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.75, allocations: 4 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.7501, allocations: 55.95 kB / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.7507, allocations: 332.7 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.7509, allocations: 58.48 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.751, allocations: 32.94 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.751, allocations: 4 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.751, allocations: 34.55 kB / 0.9839 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.751, allocations: 0 / 0.9839 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000344/0.7514, allocations: 117.7 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7514, allocations: 51.41 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.7515, allocations: 109.8 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7515, allocations: 25.7 kB / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.7516, allocations: 92.08 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.7516, allocations: 19.67 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7516, allocations: 0 / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7517, allocations: 326.8 kB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.7518, allocations: 23.98 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.7519, allocations: 41.69 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.752, allocations: 32.02 kB / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.752, allocations: 0 / 0.9847 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002066/0.7522, allocations: 93.59 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7523, allocations: 16.02 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7523, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7523, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7524, allocations: 12 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7524, allocations: 3.984 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.7525, allocations: 11.91 kB / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.7525, allocations: 4 kB / 0.9848 GB, free: 2.242 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 8.155e-05/0.7526, allocations: 117.8 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.7526, allocations: 4 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.7526, allocations: 11.89 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.7527, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7527, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7527, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.7528, allocations: 177.6 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7529, allocations: 0 / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.7529, allocations: 12 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7529, allocations: 11.92 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.753, allocations: 0 / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.753, allocations: 0 / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.753, allocations: 320 / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.7532, allocations: 195.3 kB / 0.9853 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.7533, allocations: 81.11 kB / 0.9854 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.7533, allocations: 0 / 0.9854 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7534, allocations: 11.98 kB / 0.9854 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.7535, allocations: 7.984 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.7535, allocations: 4.125 kB / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.7535, allocations: 91.25 kB / 0.9855 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7535, allocations: 7.938 kB / 0.9855 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002248/0.7538, allocations: 12 kB / 0.9855 GB, free: 1.414 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.0005174/0.7543, allocations: 0.7201 MB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.7545, allocations: 59.95 kB / 0.9863 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7545, allocations: 0 / 0.9863 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.7546, allocations: 39.97 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7549, allocations: 5.375 kB / 0.9863 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.7558, allocations: 487.3 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.7561, allocations: 0.6848 MB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.7561, allocations: 4.328 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.7562, allocations: 15.42 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.7562, allocations: 7.938 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.768, allocations: 1.481 MB / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.7683, allocations: 205.4 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.531, allocations: 1.406 kB / 0.9891 GB, free: 13.73 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