Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 192.7 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002529, allocations: 72.28 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2617, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002229/0.264, allocations: 0.8526 MB / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.2642, allocations: 43.78 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.2642, allocations: 7.938 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.2643, allocations: 11.86 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.2644, allocations: 11.88 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.572e-05/0.2645, allocations: 23.97 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.2646, allocations: 63.78 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2647, allocations: 45.38 kB / 0.7847 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.2648, allocations: 31.86 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.2648, allocations: 35.72 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2649, allocations: 8 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.2649, allocations: 4 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.2649, allocations: 15.94 kB / 0.7848 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.265, allocations: 39.73 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2651, allocations: 79.91 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2651, allocations: 4 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2651, allocations: 0 / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2651, allocations: 4 kB / 0.7849 GB, free: 11.99 MB / 0.6075 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.000427/0.2655, allocations: 387.1 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2656, allocations: 8.031 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2656, allocations: 42.69 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.2657, allocations: 12.75 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2659, allocations: 196.2 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2659, allocations: 384 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2659, allocations: 12.38 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2661, allocations: 95.89 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2661, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2661, allocations: 4 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2661, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.2662, allocations: 39.97 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.2667, allocations: 448.5 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.2668, allocations: 45.27 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.2668, allocations: 9.719 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.2668, allocations: 8.031 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2668, allocations: 38.56 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2669, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.267, allocations: 61.47 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2671, allocations: 85.03 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2672, allocations: 169.4 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2672, allocations: 25.7 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.2673, allocations: 108 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.2674, allocations: 15.84 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.2674, allocations: 17.97 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2675, allocations: 318.8 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.2675, allocations: 8 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.2676, allocations: 25.7 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.2676, allocations: 25.66 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2676, allocations: 0 / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.2678, allocations: 61.61 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2678, allocations: 7.938 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2678, allocations: 0 / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2678, allocations: 4 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.2679, allocations: 11.92 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2679, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.2679, allocations: 11.91 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2679, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.268, allocations: 121.8 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.2681, allocations: 11.84 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2681, allocations: 16.55 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2681, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2681, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2681, allocations: 4 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.2685, allocations: 474.8 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2686, allocations: 4.062 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.2686, allocations: 4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2686, allocations: 3.984 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2686, allocations: 4 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2686, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2686, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.2687, allocations: 81.78 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.2688, allocations: 96.94 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2688, allocations: 4 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.2688, allocations: 3.938 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.2688, allocations: 0 / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.2688, allocations: 0 / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.653e-05/0.2689, allocations: 130.1 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2689, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001824/0.2691, allocations: 11.98 kB / 0.788 GB, free: 8.395 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003549/0.2695, allocations: 0.6171 MB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.232e-05/0.2696, allocations: 19.98 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2696, allocations: 0 / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.2696, allocations: 20.09 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2698, allocations: 10.66 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.271, allocations: 1.37 MB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.2714, allocations: 0.6962 MB / 0.7907 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.2714, allocations: 16.41 kB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2716, allocations: 23.44 kB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2716, allocations: 0 / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.2946, allocations: 1.668 MB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.847, allocations: 11.94 kB / 0.7924 GB, free: 3.887 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)