Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.001117/0.001117, allocations: 91.92 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.001284/0.001284, 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.451/1.451, 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 10.0.0-master/package.mo): time 2.586/2.586, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8657, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001687/0.8674, allocations: 1.194 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1605/1.028, allocations: 119.6 MB / 1.099 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/1.028, allocations: 0 / 1.099 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/1.028, allocations: 3.938 kB / 1.099 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/1.028, allocations: 15.92 kB / 1.099 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/1.028, allocations: 51.78 kB / 1.099 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/1.029, allocations: 47.8 kB / 1.099 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.029, allocations: 11.98 kB / 1.099 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/1.029, allocations: 8 kB / 1.099 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/1.029, allocations: 27.84 kB / 1.099 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/1.029, allocations: 4 kB / 1.099 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/1.029, allocations: 19.94 kB / 1.099 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/1.029, allocations: 11.97 kB / 1.099 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/1.029, allocations: 33.64 kB / 1.099 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/1.029, allocations: 38.19 kB / 1.099 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.029, allocations: 0 / 1.099 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.063e-06/1.029, allocations: 0 / 1.099 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/1.029, allocations: 7.938 kB / 1.099 GB, free: 12.81 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005758/1.03, allocations: 380.8 kB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.03, allocations: 8.031 kB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/1.03, allocations: 42.55 kB / 1.1 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/1.03, allocations: 0 / 1.1 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.03, allocations: 171 kB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/1.03, allocations: 4 kB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.03, allocations: 3.953 kB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/1.03, allocations: 89.58 kB / 1.1 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.03, allocations: 4 kB / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.03, allocations: 4 kB / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.03, allocations: 0 / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/1.031, allocations: 87.92 kB / 1.1 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/1.031, allocations: 292.7 kB / 1.1 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/1.031, allocations: 70.47 kB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.032, allocations: 52.91 kB / 1.101 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/1.032, allocations: 85.11 kB / 1.101 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.032, allocations: 38.55 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.032, allocations: 4 kB / 1.101 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000578/1.033, allocations: 157.6 kB / 1.101 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.033, allocations: 55.34 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.033, allocations: 121.8 kB / 1.101 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.033, allocations: 29.7 kB / 1.101 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/1.033, allocations: 88.14 kB / 1.101 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/1.033, allocations: 11.81 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/1.033, allocations: 3.938 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.033, allocations: 322.8 kB / 1.101 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/1.033, allocations: 39.97 kB / 1.101 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/1.033, allocations: 47.95 kB / 1.102 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/1.033, allocations: 43.97 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.033, allocations: 0 / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003124/1.034, allocations: 117.6 kB / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.034, allocations: 4 kB / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.034, allocations: 0 / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.034, allocations: 0 / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/1.034, allocations: 23.97 kB / 1.102 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.034, allocations: 3.938 kB / 1.102 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/1.034, allocations: 19.98 kB / 1.102 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.034, allocations: 3.938 kB / 1.102 GB, free: 10.19 MB / 0.8575 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 (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 9.854e-05/1.034, allocations: 117.8 kB / 1.102 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/1.034, allocations: 7.906 kB / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/1.035, allocations: 125.5 kB / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.035, allocations: 384 / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.035, allocations: 4 kB / 1.102 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.035, allocations: 7.984 kB / 1.102 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/1.035, allocations: 173.5 kB / 1.102 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.035, allocations: 0 / 1.102 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/1.035, allocations: 23.97 kB / 1.102 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.035, allocations: 3.984 kB / 1.102 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.035, allocations: 0 / 1.102 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.035, allocations: 3.938 kB / 1.102 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.035, allocations: 0 / 1.102 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/1.035, allocations: 223.4 kB / 1.102 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/1.035, allocations: 81.06 kB / 1.102 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.035, allocations: 3.984 kB / 1.102 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/1.036, allocations: 15.98 kB / 1.102 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/1.036, allocations: 4 kB / 1.102 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/1.036, allocations: 0 / 1.102 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.378e-05/1.036, allocations: 99.2 kB / 1.103 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.036, allocations: 0 / 1.103 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002909/1.036, allocations: 16 kB / 1.103 GB, free: 9.191 MB / 0.8575 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 (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.000774/1.037, allocations: 0.7669 MB / 1.103 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003417/1.037, allocations: 91.92 kB / 1.103 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.037, allocations: 0 / 1.103 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/1.037, allocations: 43.97 kB / 1.103 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.038, allocations: 20.69 kB / 1.103 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.039, allocations: 0.5685 MB / 1.104 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.039, allocations: 0.6848 MB / 1.105 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.742e-05/1.039, allocations: 3.984 kB / 1.105 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/1.039, allocations: 15.44 kB / 1.105 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/1.039, allocations: 0 / 1.105 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/1.052, allocations: 1.711 MB / 1.106 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/1.052, allocations: 199.2 kB / 1.107 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.845, allocations: 0 / 1.107 GB, free: 5.094 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat