Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.To_quad,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.481/2.481, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001441/0.001441, allocations: 184.7 kB / 360.6 MB, free: 7.281 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.185/2.185, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.00115/0.00115, allocations: 85.31 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.825e-05, allocations: 8 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8674, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/1.116, allocations: 136.7 MB / 1.097 GB, free: 3.781 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.116, allocations: 63.95 kB / 1.097 GB, free: 3.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005325/1.122, allocations: 1.144 MB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/1.122, allocations: 0 / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.122, allocations: 4 kB / 1.098 GB, free: 2.594 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.0004229/1.122, allocations: 372.2 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.122, allocations: 12.62 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/1.122, allocations: 11.81 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.123, allocations: 180.4 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/1.123, allocations: 0.5625 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/1.123, allocations: 8 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001332/1.123, allocations: 33.52 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.123, allocations: 88.42 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.123, allocations: 4 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/1.123, allocations: 0.625 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/1.123, allocations: 0 / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/1.124, allocations: 421.3 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/1.124, allocations: 42.25 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/1.124, allocations: 14.5 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/1.124, allocations: 0.6875 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.124, allocations: 34.22 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/1.124, allocations: 1.438 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/1.124, allocations: 49.2 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.124, allocations: 77.61 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/1.124, allocations: 131.6 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.124, allocations: 25.7 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/1.125, allocations: 117.7 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/1.125, allocations: 3.906 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/1.125, allocations: 0 / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.125, allocations: 315.4 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/1.125, allocations: 8.594 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/1.125, allocations: 22.34 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/1.125, allocations: 9.266 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.125, allocations: 0 / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/1.125, allocations: 62.25 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.125, allocations: 9.906 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.125, allocations: 224 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.125, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/1.125, allocations: 11.92 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.125, allocations: 4 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/1.125, allocations: 4.594 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/1.125, allocations: 0 / 1.1 GB, free: 372 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.817e-05/1.125, allocations: 111.9 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001242/1.125, allocations: 53.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/1.126, allocations: 3.906 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/1.126, allocations: 15.95 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.126, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.126, allocations: 2.188 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.126, allocations: 8.844 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/1.126, allocations: 451.3 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.126, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/1.126, allocations: 4 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.126, allocations: 256 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.126, allocations: 4 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.126, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.126, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.126, allocations: 95.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/1.127, allocations: 85.02 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/1.127, allocations: 4.031 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/1.127, allocations: 7.984 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/1.127, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/1.127, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.21e-05/1.127, allocations: 105.5 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.127, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002472/1.127, allocations: 8 kB / 1.101 GB, free: 15.33 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.0004734/1.127, allocations: 0.6915 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.128, allocations: 19.94 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.128, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/1.128, allocations: 4 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.128, allocations: 27.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.0004581/1.128, allocations: 137 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.129, allocations: 0.7002 MB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.983e-05/1.129, allocations: 4.172 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/1.129, allocations: 27.38 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.129, allocations: 4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/1.166, allocations: 0.9797 MB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/1.166, allocations: 152 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.531, allocations: 1.828 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)