Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001237, allocations: 92.2 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.957e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.834, allocations: 115.2 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/1.064, allocations: 136.7 MB / 1.097 GB, free: 3.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.065, allocations: 63.97 kB / 1.097 GB, free: 3.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003969/1.069, allocations: 1.15 MB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.069, allocations: 0 / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.069, allocations: 0.6875 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004379/1.069, allocations: 368.4 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.069, allocations: 8.625 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/1.069, allocations: 15.81 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.069, allocations: 179.4 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.069, allocations: 4.625 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/1.069, allocations: 6.844 kB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/1.07, allocations: 34.66 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.07, allocations: 85.23 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.07, allocations: 4.938 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.07, allocations: 0 / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.07, allocations: 4 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/1.071, allocations: 417.1 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.162e-05/1.071, allocations: 38.16 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/1.071, allocations: 19.84 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.071, allocations: 0 / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.071, allocations: 35.09 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/1.071, allocations: 2.75 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/1.071, allocations: 43.59 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.071, allocations: 81.7 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.071, allocations: 137 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.071, allocations: 27.17 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/1.071, allocations: 108.1 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/1.071, allocations: 3.906 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.071, allocations: 0 / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.072, allocations: 323.3 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/1.072, allocations: 8.875 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/1.072, allocations: 20.47 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/1.072, allocations: 4 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.072, allocations: 4 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/1.072, allocations: 65.48 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.072, allocations: 6.125 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.072, allocations: 1.906 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.072, allocations: 0 / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/1.072, allocations: 11.94 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.072, allocations: 0 / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/1.072, allocations: 3.938 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.072, allocations: 4.562 kB / 1.1 GB, free: 360 kB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.681e-05/1.072, allocations: 108.9 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001247/1.072, allocations: 57.48 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/1.072, allocations: 7.906 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/1.072, allocations: 11.97 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.072, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.073, allocations: 3.984 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.073, allocations: 2.312 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/1.073, allocations: 447.4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.073, allocations: 3.984 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/1.073, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.073, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.073, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.073, allocations: 1.594 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.073, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/1.073, allocations: 91.64 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/1.073, allocations: 89 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/1.073, allocations: 3.938 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/1.073, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/1.074, allocations: 1.406 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.074, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001035/1.074, allocations: 103.3 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/1.074, allocations: 8.031 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002641/1.074, allocations: 8 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005551/1.074, allocations: 0.6926 MB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001074/1.075, allocations: 15.94 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.075, allocations: 4 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/1.075, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/1.075, allocations: 12.64 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/1.075, allocations: 145 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.076, allocations: 0.7004 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.218e-05/1.076, allocations: 8.172 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/1.076, allocations: 23.44 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.076, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3754/1.451, allocations: 0.9736 MB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/1.452, allocations: 161.1 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.821, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)