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.702/1.702, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.0009772/0.000977, allocations: 173.1 kB / 377.1 MB, free: 1.527 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.643/1.643, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009727/0.0009728, allocations: 88.44 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8429/1.137, allocations: 138.5 MB / 1.124 GB, free: 35.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.138, allocations: 63.11 kB / 1.124 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002984/1.141, allocations: 1.154 MB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.445e-06/1.141, allocations: 2.062 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.141, allocations: 0 / 1.125 GB, free: 34.95 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.0004571/1.141, allocations: 389.1 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.141, allocations: 13.14 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/1.141, allocations: 38.56 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/1.141, allocations: 13.53 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/1.142, allocations: 186.6 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/1.142, allocations: 11.44 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/1.142, allocations: 4 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/1.142, allocations: 95.94 kB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.142, allocations: 0 / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/1.142, allocations: 8 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.142, allocations: 0 / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/1.142, allocations: 40.53 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/1.143, allocations: 462.6 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/1.143, allocations: 41.34 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/1.143, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.143, allocations: 31.12 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.143, allocations: 4 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002109/1.143, allocations: 61.17 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.143, allocations: 77.11 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/1.143, allocations: 159.2 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/1.143, allocations: 25.7 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/1.143, allocations: 107.7 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/1.143, allocations: 7.844 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.143, allocations: 4.25 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/1.144, allocations: 325.2 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/1.144, allocations: 11.94 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/1.144, allocations: 21.89 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/1.144, allocations: 8 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.144, allocations: 0.5625 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/1.144, allocations: 65.56 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.144, allocations: 12 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.144, allocations: 0.625 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.144, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/1.144, allocations: 8.016 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.144, allocations: 4.562 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/1.144, allocations: 3.906 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.144, allocations: 4 kB / 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.482e-05/1.144, allocations: 109.8 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/1.144, allocations: 16.38 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/1.144, allocations: 16.67 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.144, allocations: 4.656 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.144, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.144, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/1.145, allocations: 478 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.145, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/1.145, allocations: 4 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.145, allocations: 4.062 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/1.145, allocations: 8.922 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.145, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.145, allocations: 4 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/1.145, allocations: 91.42 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/1.145, allocations: 97.94 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.145, allocations: 0 / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/1.145, allocations: 0 / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/1.145, allocations: 7.375 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.145, allocations: 1.016 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.896e-05/1.145, allocations: 127.8 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.145, allocations: 0 / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001975/1.145, allocations: 12.5 kB / 1.128 GB, free: 31.58 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.0003447/1.146, allocations: 0.6988 MB / 1.129 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.612e-05/1.146, allocations: 23.42 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.146, allocations: 3.938 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/1.146, allocations: 13.03 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/1.146, allocations: 8 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.0008828/1.147, allocations: 0.7415 MB / 1.129 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/1.147, allocations: 0.695 MB / 1.13 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.195e-05/1.147, allocations: 11.67 kB / 1.13 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/1.147, allocations: 26.81 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.147, allocations: 0 / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/1.161, allocations: 1.576 MB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.161, allocations: 192.9 kB / 1.132 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.781, allocations: 0 / 1.132 GB, free: 28.21 MB / 0.7292 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)