Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_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.653/1.653, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001027/0.001027, allocations: 168.9 kB / 366.7 MB, free: 1.66 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.667/1.667, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.000972/0.0009717, allocations: 92.56 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.857e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7922, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/1.024, allocations: 137.8 MB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.025, allocations: 67.95 kB / 1.108 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003156/1.028, allocations: 1.146 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/1.028, allocations: 0.5938 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.028, allocations: 4 kB / 1.109 GB, free: 11.09 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.0004281/1.028, allocations: 372.1 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.028, allocations: 8.031 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.029, allocations: 16.72 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/1.029, allocations: 176.6 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.029, allocations: 11.77 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.029, allocations: 4.781 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/1.029, allocations: 32 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/1.029, allocations: 80.47 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.029, allocations: 0.5625 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.029, allocations: 0 / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.029, allocations: 4.625 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/1.03, allocations: 417 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/1.03, allocations: 38.45 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/1.03, allocations: 18.34 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.03, allocations: 0.5312 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.03, allocations: 43.03 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.03, allocations: 0 / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002214/1.03, allocations: 42.91 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.03, allocations: 82.58 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.031, allocations: 131.2 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.031, allocations: 25.7 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/1.031, allocations: 109.4 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/1.031, allocations: 7.906 kB / 1.111 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.031, allocations: 0 / 1.111 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.031, allocations: 320.1 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/1.031, allocations: 11.94 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/1.031, allocations: 15.06 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/1.031, allocations: 12 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.031, allocations: 0.9375 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.999e-05/1.031, allocations: 58.41 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.031, allocations: 7.953 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.031, allocations: 0 / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.031, allocations: 4.562 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/1.031, allocations: 9.312 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.031, allocations: 1.812 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/1.031, allocations: 7.938 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1.031, allocations: 1.281 kB / 1.111 GB, free: 8.859 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 8.677e-05/1.031, allocations: 101 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001049/1.032, allocations: 59.77 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/1.032, allocations: 18.89 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/1.032, allocations: 7.969 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.032, allocations: 0 / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.032, allocations: 0 / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.032, allocations: 0 / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/1.032, allocations: 451.4 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.032, allocations: 9.344 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/1.032, allocations: 3.938 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.032, allocations: 7.984 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.032, allocations: 0 / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.032, allocations: 2.75 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.032, allocations: 0 / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/1.032, allocations: 91.58 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/1.032, allocations: 89 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/1.032, allocations: 0 / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/1.032, allocations: 0 / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/1.032, allocations: 4 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/1.032, allocations: 0 / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.023e-05/1.033, allocations: 108.5 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 2.531 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001824/1.033, allocations: 8 kB / 1.112 GB, free: 7.812 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.0004873/1.033, allocations: 0.6914 MB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.033, allocations: 20 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.033, allocations: 160 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/1.033, allocations: 11.94 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/1.034, allocations: 8 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/1.034, allocations: 142.7 kB / 1.113 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.034, allocations: 0.7009 MB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.341e-05/1.034, allocations: 4.312 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/1.035, allocations: 27.42 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.035, allocations: 0 / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/1.058, allocations: 0.9778 MB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.059, allocations: 147.3 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.653, allocations: 0 / 1.115 GB, free: 4.984 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)