Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.001212/0.001212, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.826/1.826, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005123/0.0005124, allocations: 13.19 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2701, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001371/0.2716, allocations: 0.5441 MB / 0.7879 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.2719, allocations: 47.78 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.272, allocations: 0 / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.272, allocations: 3.938 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2721, allocations: 7.922 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.736e-05/0.2722, allocations: 12 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2724, allocations: 63.78 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2726, allocations: 37.55 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.2726, allocations: 15.88 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.2727, allocations: 23.86 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2728, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2728, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2728, allocations: 7.922 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.2729, allocations: 41.64 kB / 0.7882 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.273, allocations: 68.02 kB / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.273, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.273, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.273, allocations: 0 / 0.7883 GB, free: 10.96 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.0005963/0.2736, allocations: 379 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.2737, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.2738, allocations: 42.55 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.2738, allocations: 11.84 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2742, allocations: 205.5 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2742, allocations: 8 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2742, allocations: 4 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2745, allocations: 91.33 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2745, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2745, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2745, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2747, allocations: 35.98 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.2755, allocations: 452.5 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.2756, allocations: 45.17 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.2756, allocations: 14.84 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2756, allocations: 8 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.2757, allocations: 38.59 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.2757, allocations: 0 / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002517/0.276, allocations: 57.53 kB / 0.7896 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2761, allocations: 77.11 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.2763, allocations: 171.6 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2763, allocations: 29.7 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2764, allocations: 111.9 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.2765, allocations: 11.97 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2765, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2766, allocations: 314.8 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.2767, allocations: 8 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.2767, allocations: 25.7 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.2768, allocations: 8 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2768, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001731/0.277, allocations: 73.39 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.277, allocations: 4 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.277, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2771, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.2772, allocations: 8.094 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2772, allocations: 0 / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.2772, allocations: 3.938 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2773, allocations: 8.047 kB / 0.7904 GB, free: 8.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2774, allocations: 121.8 kB / 0.7905 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.2775, allocations: 15.8 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.2775, allocations: 16.55 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2775, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2775, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2776, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.2782, allocations: 494.6 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2782, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.2783, allocations: 4 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.2783, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2783, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2783, allocations: 4 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2783, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2784, allocations: 85.91 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.2785, allocations: 85.02 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2785, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.2786, allocations: 4 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.2786, allocations: 7.922 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2786, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001293/0.2788, allocations: 128 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2788, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003468/0.2791, allocations: 8 kB / 0.7913 GB, free: 7.422 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 (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.0005095/0.2797, allocations: 0.621 MB / 0.792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2798, allocations: 15.94 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2798, allocations: 4.156 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.2798, allocations: 12 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2801, allocations: 6.812 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2813, allocations: 0.5916 MB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2817, allocations: 0.6965 MB / 0.7932 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.2817, allocations: 8.438 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2818, allocations: 31.36 kB / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2818, allocations: 0 / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.2999, allocations: 1.589 MB / 0.7948 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.3003, allocations: 196.1 kB / 0.795 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.226, allocations: 0 / 0.795 GB, free: 3.637 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) Environment - environmentSimulation: