Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.443/1.443, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.0008933/0.0008934, allocations: 186.7 kB / 372.3 MB, free: 10.1 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.163/1.163, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.0006897/0.0006897, allocations: 84.7 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 12.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0006956/0.1502, allocations: 0.5251 MB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.165e-05/0.1503, allocations: 47.78 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1503, allocations: 0 / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1504, allocations: 7.922 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.1504, allocations: 7.938 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.608e-05/0.1505, allocations: 11.98 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.1506, allocations: 63.78 kB / 0.9808 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1507, allocations: 41.33 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.1507, allocations: 23.86 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.1508, allocations: 23.78 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1508, allocations: 8 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1508, allocations: 0 / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1508, allocations: 11.94 kB / 0.9809 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1508, allocations: 49.52 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.721e-05/0.1509, allocations: 60.08 kB / 0.981 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1509, allocations: 0 / 0.981 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1509, allocations: 0 / 0.981 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.1509, allocations: 0 / 0.981 GB, free: 26.33 MB / 0.6198 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.0002725/0.1512, allocations: 379.2 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1512, allocations: 16.03 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.437e-05/0.1513, allocations: 34.75 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.1513, allocations: 12.84 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1514, allocations: 196.1 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1514, allocations: 8.281 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1515, allocations: 8.375 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1516, allocations: 93.67 kB / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1516, allocations: 3.938 kB / 0.9818 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1516, allocations: 11.98 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1516, allocations: 4 kB / 0.9818 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.1517, allocations: 39.92 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.152, allocations: 436.5 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.369e-05/0.1521, allocations: 45.28 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.1521, allocations: 17.84 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1521, allocations: 0 / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.1521, allocations: 34.56 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1522, allocations: 7.922 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.1523, allocations: 53.73 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.1523, allocations: 97.03 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.1524, allocations: 161.9 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-06/0.1524, allocations: 29.7 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.1525, allocations: 112 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.1525, allocations: 3.906 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.1525, allocations: 3.938 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.1525, allocations: 322.8 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.1525, allocations: 12 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.1526, allocations: 17.72 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.1526, allocations: 25.7 kB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1526, allocations: 4 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.387e-05/0.1527, allocations: 57.55 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.1527, allocations: 11.94 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1527, allocations: 4.062 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1527, allocations: 0 / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.1528, allocations: 7.984 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1528, allocations: 4 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1528, allocations: 3.906 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1528, allocations: 0 / 0.9832 GB, free: 23.83 MB / 0.6198 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 4.329e-05/0.1529, allocations: 125.7 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.1529, allocations: 15.84 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.1529, allocations: 8.562 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1529, allocations: 8 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.153, allocations: 3.984 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.153, allocations: 0 / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1532, allocations: 478.8 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1532, allocations: 0 / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.1532, allocations: 8 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1532, allocations: 0 / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.1533, allocations: 0 / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1533, allocations: 4.062 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1533, allocations: 3.984 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.418e-05/0.1533, allocations: 82.62 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.1534, allocations: 93 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1534, allocations: 0 / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.1534, allocations: 3.938 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.1534, allocations: 4.031 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1534, allocations: 4 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.867e-05/0.1535, allocations: 128.9 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1535, allocations: 0 / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001596/0.1537, allocations: 11.94 kB / 0.9842 GB, free: 22.75 MB / 0.6198 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.0001893/0.1539, allocations: 0.6209 MB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.1539, allocations: 23.92 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1539, allocations: 0 / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.154, allocations: 8 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1541, allocations: 12.36 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.1547, allocations: 0.5896 MB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.1548, allocations: 0.6926 MB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.1548, allocations: 8.422 kB / 0.9861 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1548, allocations: 23.44 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.1548, allocations: 0 / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9883/1.143, allocations: 1.594 MB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.143, allocations: 205 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.051, allocations: 0 / 0.9879 GB, free: 19.01 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)