Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.684/2.684, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001633/0.001633, allocations: 168.1 kB / 370.8 MB, free: 10.86 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.224/2.224, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 97.86 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004886, allocations: 13.16 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9238/1.147, allocations: 137.4 MB / 1.112 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.147, allocations: 68.27 kB / 1.113 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004185/1.152, allocations: 1.149 MB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/1.152, allocations: 3.969 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.152, allocations: 0 / 1.114 GB, free: 31.14 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.000428/1.152, allocations: 377.2 kB / 1.114 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.152, allocations: 15.48 kB / 1.114 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/1.152, allocations: 43.09 kB / 1.114 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/1.152, allocations: 19.64 kB / 1.114 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.153, allocations: 178.1 kB / 1.114 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.153, allocations: 7.875 kB / 1.114 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/1.153, allocations: 7.844 kB / 1.114 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.153, allocations: 95.92 kB / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.153, allocations: 0 / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.153, allocations: 3.812 kB / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.153, allocations: 5.328 kB / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/1.153, allocations: 33.83 kB / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/1.154, allocations: 465.7 kB / 1.115 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/1.154, allocations: 44.61 kB / 1.115 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.154, allocations: 96 / 1.115 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.154, allocations: 42.62 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/1.154, allocations: 0 / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002073/1.154, allocations: 57.83 kB / 1.115 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.154, allocations: 78.86 kB / 1.115 GB, free: 29.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.154, allocations: 156.6 kB / 1.115 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/1.154, allocations: 25.7 kB / 1.115 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/1.154, allocations: 107.9 kB / 1.115 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/1.154, allocations: 7.844 kB / 1.115 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.154, allocations: 0 / 1.115 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.155, allocations: 326.1 kB / 1.116 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/1.155, allocations: 10.77 kB / 1.116 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/1.155, allocations: 21.5 kB / 1.116 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/1.155, allocations: 15.36 kB / 1.116 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.155, allocations: 0 / 1.116 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/1.155, allocations: 63.16 kB / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.155, allocations: 3.844 kB / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.155, allocations: 3.938 kB / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.155, allocations: 0 / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.155, allocations: 10.77 kB / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.155, allocations: 0 / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/1.155, allocations: 11.81 kB / 1.116 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.155, allocations: 0 / 1.116 GB, free: 29.22 MB / 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 () * 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 0.000101/1.155, allocations: 121.5 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/1.155, allocations: 7.75 kB / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/1.155, allocations: 14.8 kB / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.155, allocations: 0 / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.155, allocations: 0 / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.155, allocations: 3.844 kB / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/1.156, allocations: 482.6 kB / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.156, allocations: 3.453 kB / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/1.156, allocations: 3.875 kB / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.156, allocations: 0 / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.156, allocations: 0 / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.156, allocations: 1.266 kB / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.156, allocations: 0 / 1.116 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/1.156, allocations: 101.5 kB / 1.117 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/1.156, allocations: 90.2 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.156, allocations: 1.312 kB / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/1.156, allocations: 0 / 1.117 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/1.156, allocations: 7.812 kB / 1.117 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/1.156, allocations: 4.781 kB / 1.117 GB, free: 28.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001292/1.156, allocations: 134.7 kB / 1.117 GB, free: 28.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.156, allocations: 0 / 1.117 GB, free: 28.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002375/1.157, allocations: 15.58 kB / 1.117 GB, free: 28.32 MB / 0.698 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.0004518/1.157, allocations: 0.6925 MB / 1.117 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001133/1.157, allocations: 20.44 kB / 1.117 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.157, allocations: 3.688 kB / 1.117 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/1.157, allocations: 7.781 kB / 1.117 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/1.158, allocations: 14.05 kB / 1.117 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/1.159, allocations: 0.7352 MB / 1.118 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/1.159, allocations: 0.7076 MB / 1.119 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.628e-05/1.159, allocations: 6.734 kB / 1.119 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/1.159, allocations: 25.36 kB / 1.119 GB, free: 26.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.159, allocations: 3.938 kB / 1.119 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/1.182, allocations: 1.579 MB / 1.12 GB, free: 26.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.182, allocations: 193.9 kB / 1.121 GB, free: 25.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.633, allocations: 0 / 1.121 GB, free: 25.97 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)