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.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001568/0.001568, allocations: 188.1 kB / 377.1 MB, free: 1.512 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.633/1.633, allocations: 205.4 MB / 0.6366 GB, free: 8.66 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.0009108/0.0009107, allocations: 92.44 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8331/1.161, allocations: 138.5 MB / 1.124 GB, free: 35.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.161, allocations: 77.02 kB / 1.124 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002743/1.164, allocations: 1.143 MB / 1.125 GB, free: 34.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/1.164, allocations: 0.5938 kB / 1.125 GB, free: 34.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.164, allocations: 4 kB / 1.125 GB, free: 34.93 MB / 0.7292 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.0004208/1.165, allocations: 388.5 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.165, allocations: 12.02 kB / 1.125 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/1.165, allocations: 44.45 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/1.165, allocations: 11.39 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.165, allocations: 182.6 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.165, allocations: 11.44 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.165, allocations: 4 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.165, allocations: 93.2 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.165, allocations: 7.188 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.165, allocations: 4 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.165, allocations: 7.344 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/1.165, allocations: 39.31 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/1.166, allocations: 455.7 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/1.166, allocations: 41.28 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/1.166, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/1.166, allocations: 39.3 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.166, allocations: 4 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/1.166, allocations: 57.55 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.166, allocations: 77.11 kB / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.166, allocations: 155.2 kB / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.166, allocations: 25.7 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/1.167, allocations: 107 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/1.167, allocations: 7.844 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.167, allocations: 12.02 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/1.167, allocations: 325.8 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/1.167, allocations: 8 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/1.167, allocations: 21.72 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/1.167, allocations: 8 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.167, allocations: 0 / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.308e-05/1.167, allocations: 69.02 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.167, allocations: 8.062 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.167, allocations: 0.5469 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.167, allocations: 4.656 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/1.167, allocations: 4 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.167, allocations: 3.188 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/1.167, allocations: 7.906 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.167, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 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 (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 8.253e-05/1.167, allocations: 113.8 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/1.167, allocations: 11.86 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/1.167, allocations: 21.52 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.167, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.167, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.167, allocations: 4 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/1.168, allocations: 472.6 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.168, allocations: 4 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/1.168, allocations: 4.125 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.168, allocations: 8.062 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.168, allocations: 0.75 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.168, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.168, allocations: 0.7031 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.064e-05/1.168, allocations: 102.9 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/1.168, allocations: 85.02 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/1.168, allocations: 8.531 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/1.168, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/1.168, allocations: 4.125 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/1.168, allocations: 4 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.141e-05/1.168, allocations: 123.6 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.142e-06/1.168, allocations: 0 / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001958/1.168, allocations: 12.59 kB / 1.128 GB, free: 31.57 MB / 0.7292 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 () * Number of clocked 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.000286/1.169, allocations: 0.6993 MB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.203e-05/1.169, allocations: 23.56 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.169, allocations: 0 / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/1.169, allocations: 8.156 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/1.169, allocations: 14.55 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/1.17, allocations: 0.7496 MB / 1.129 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.17, allocations: 0.6948 MB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.197e-05/1.17, allocations: 7.812 kB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/1.17, allocations: 30.77 kB / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.17, allocations: 0 / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/1.183, allocations: 1.578 MB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.183, allocations: 182.9 kB / 1.132 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.784, allocations: 0 / 1.132 GB, free: 28.21 MB / 0.7292 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)