Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001033/0.001033, allocations: 188.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0008474/0.0008472, allocations: 85.95 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.336e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7552, allocations: 116.3 MB / 0.9734 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.9841, allocations: 137.8 MB / 1.108 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.9844, allocations: 67.97 kB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003025/0.9875, allocations: 1.145 MB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9875, allocations: 0 / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.9875, allocations: 5.156 kB / 1.109 GB, free: 11.16 MB / 0.7136 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.0005302/0.9881, allocations: 369.1 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.9881, allocations: 8.031 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.9882, allocations: 20.28 kB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.9884, allocations: 186.7 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.9885, allocations: 4 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.9885, allocations: 4.719 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.9886, allocations: 32.75 kB / 1.11 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.9888, allocations: 85.2 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.9888, allocations: 0 / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.9888, allocations: 4.469 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.9888, allocations: 5.562 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.9895, allocations: 412.2 kB / 1.11 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/0.9896, allocations: 39.64 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.9896, allocations: 21.88 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.9896, allocations: 0 / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9897, allocations: 35.94 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.9897, allocations: 0 / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000188/0.9899, allocations: 40.61 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.9899, allocations: 85.05 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.9901, allocations: 131 kB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.9901, allocations: 25.7 kB / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.9902, allocations: 112 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.9902, allocations: 9.031 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.9902, allocations: 2.906 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9903, allocations: 314.8 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.9903, allocations: 4 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.9904, allocations: 21.7 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.9904, allocations: 12.84 kB / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9904, allocations: 0 / 1.111 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.528e-05/0.9905, allocations: 56.8 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9905, allocations: 7.953 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9906, allocations: 0 / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9906, allocations: 7.984 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.9907, allocations: 8 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9907, allocations: 2.906 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.9907, allocations: 7.938 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.9907, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 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.287e-05/0.9908, allocations: 104.2 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.804e-05/0.9909, allocations: 48.5 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.991, allocations: 19.84 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.991, allocations: 7.969 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.991, allocations: 0 / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.991, allocations: 0 / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.991, allocations: 3.188 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.9914, allocations: 451.3 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9915, allocations: 4 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.9915, allocations: 0 / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.9915, allocations: 4 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.9915, allocations: 256 / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.9915, allocations: 4.625 kB / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9915, allocations: 0 / 1.112 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.9916, allocations: 91.56 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.9917, allocations: 85.02 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.9918, allocations: 4.078 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.9918, allocations: 6.719 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.9918, allocations: 11.92 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.9918, allocations: 0 / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.9919, allocations: 101.9 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9919, allocations: 0 / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001865/0.9921, allocations: 11.98 kB / 1.112 GB, free: 7.895 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.0004265/0.9925, allocations: 0.6895 MB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.685e-05/0.9926, allocations: 23.92 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9927, allocations: 0 / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.9927, allocations: 8 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.9928, allocations: 6.094 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.9933, allocations: 146.8 kB / 1.113 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.9936, allocations: 0.7048 MB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.9936, allocations: 192 / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.9937, allocations: 27.42 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9937, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/1.017, allocations: 0.9798 MB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.017, allocations: 144.4 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.579, allocations: 0 / 1.115 GB, free: 5.066 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1)