Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 176.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 82.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.427e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7032/0.9148, allocations: 131.3 MB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.9152, allocations: 68.84 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002794/0.918, allocations: 1.155 MB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.918, allocations: 4 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.918, allocations: 4 kB / 1.021 GB, free: 2.305 MB / 0.6355 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.0003416/0.9184, allocations: 360.3 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.9184, allocations: 12.03 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.9185, allocations: 41.55 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.9185, allocations: 7.906 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.9187, allocations: 178.9 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9188, allocations: 7.812 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.9188, allocations: 11.94 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.919, allocations: 90.52 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.919, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.919, allocations: 7.797 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.919, allocations: 4 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.9191, allocations: 38.56 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.9197, allocations: 463.3 kB / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.9198, allocations: 41.06 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.9198, allocations: 17.84 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.9198, allocations: 6.719 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.9199, allocations: 38.56 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.9199, allocations: 0 / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.9201, allocations: 53.17 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.9201, allocations: 77.11 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.9203, allocations: 157.6 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.9203, allocations: 25.7 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.9204, allocations: 110.9 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.9204, allocations: 15.59 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.9204, allocations: 0 / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9206, allocations: 318.4 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.9206, allocations: 6.812 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.9207, allocations: 21.53 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.9207, allocations: 19.83 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.9208, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.9209, allocations: 60.84 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9209, allocations: 9.719 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9209, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.9209, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.921, allocations: 7.938 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.921, allocations: 4 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.9211, allocations: 8 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.9211, allocations: 4 kB / 1.023 GB, free: 20 kB / 0.6355 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.036e-05/0.9212, allocations: 105.9 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.9212, allocations: 12.03 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.9213, allocations: 20.06 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9213, allocations: 3.938 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9213, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9213, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.9217, allocations: 487.1 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9217, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.9217, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9218, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9218, allocations: 4 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9218, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9218, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/0.9219, allocations: 97.56 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.9219, allocations: 87.89 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.922, allocations: 7.984 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/0.922, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.922, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.922, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.9221, allocations: 136.6 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9221, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001693/0.9223, allocations: 15.86 kB / 1.024 GB, free: 14.99 MB / 0.6511 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.0004655/0.9228, allocations: 0.6953 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.9229, allocations: 17.81 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9229, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.9229, allocations: 10.88 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.923, allocations: 15.77 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.9235, allocations: 139.6 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.9239, allocations: 0.7046 MB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.9239, allocations: 12.36 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.924, allocations: 23.5 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.924, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.9359, allocations: 1.566 MB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.9361, allocations: 166.3 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.419, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)