Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.738/1.738, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001345/0.001345, allocations: 176.8 kB / 366.7 MB, free: 1.676 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.83/1.83, allocations: 205.2 MB / 0.626 GB, free: 7.129 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.000831/0.0008312, allocations: 94.98 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.065e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6716, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.8623, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.8626, allocations: 59.97 kB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002855/0.8655, allocations: 1.148 MB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8655, allocations: 0.6875 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.8655, allocations: 5.594 kB / 1.109 GB, free: 11.11 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.0003566/0.8659, allocations: 379.7 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8659, allocations: 8.031 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.866, allocations: 16.19 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.8662, allocations: 183.6 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.8662, allocations: 4.625 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.8662, allocations: 4 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.8663, allocations: 36.55 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.8665, allocations: 85.75 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8665, allocations: 0.6562 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8665, allocations: 0 / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8665, allocations: 0.7188 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.8671, allocations: 417.4 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.151e-05/0.8671, allocations: 42.45 kB / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.8672, allocations: 13.78 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.8672, allocations: 1.469 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.8672, allocations: 39.97 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.8672, allocations: 3.562 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.8674, allocations: 45.69 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8675, allocations: 79.8 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.8676, allocations: 126 kB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.8676, allocations: 25.7 kB / 1.111 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.8677, allocations: 112.1 kB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.8677, allocations: 7.906 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.8677, allocations: 0.625 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8679, allocations: 315.8 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.8679, allocations: 11.94 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.868, allocations: 22.91 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.868, allocations: 8.719 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.868, allocations: 0 / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.64e-05/0.8681, allocations: 54.47 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8681, allocations: 14.52 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8681, allocations: 0 / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8681, allocations: 0 / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.8682, allocations: 7.938 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.8682, allocations: 8.75 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.8683, allocations: 3.938 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.8683, allocations: 0 / 1.111 GB, free: 8.883 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.616e-05/0.8684, allocations: 109.1 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.358e-05/0.8685, allocations: 53.53 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.8685, allocations: 11.86 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.8685, allocations: 7.969 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8685, allocations: 0 / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8685, allocations: 4 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8685, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.8689, allocations: 455.5 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8689, allocations: 6.406 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.8689, allocations: 4 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8689, allocations: 3.984 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.869, allocations: 0 / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.869, allocations: 3.984 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.869, allocations: 4 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.8691, allocations: 87.64 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.8691, allocations: 89 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8691, allocations: 4 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.8692, allocations: 3.75 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.8692, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8692, allocations: 0 / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.8693, allocations: 105.3 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8693, allocations: 7.969 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001706/0.8695, allocations: 8 kB / 1.112 GB, free: 7.828 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.0003366/0.8698, allocations: 0.6915 MB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.8699, allocations: 19.97 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8699, allocations: 0 / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.8699, allocations: 8 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.8701, allocations: 4.219 kB / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.8704, allocations: 150.5 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.8707, allocations: 0.7012 MB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.8707, allocations: 4.188 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.8708, allocations: 23.42 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8708, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.8893, allocations: 0.9752 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.8895, allocations: 144.1 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.344, allocations: 0 / 1.115 GB, free: 5.004 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)