Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 174.7 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 82.38 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 16.03 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001442/0.2838, allocations: 0.5768 MB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.2841, allocations: 55.77 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2842, allocations: 0 / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.602e-05/0.2843, allocations: 3.938 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.2844, allocations: 3.938 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.456e-05/0.2845, allocations: 15.98 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2847, allocations: 71.77 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2849, allocations: 37.38 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.285, allocations: 23.86 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2851, allocations: 23.8 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2852, allocations: 4 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.2852, allocations: 0 / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.2852, allocations: 15.88 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.2853, allocations: 53.44 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2855, allocations: 75.67 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2856, allocations: 0 / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2856, allocations: 0 / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.2856, allocations: 0 / 0.9019 GB, free: 62.42 MB / 0.6042 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.0005578/0.2862, allocations: 371.6 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.2862, allocations: 12.03 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.2863, allocations: 38.73 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.2864, allocations: 16.75 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2866, allocations: 196.1 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.2867, allocations: 4.375 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.2867, allocations: 8.375 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.287, allocations: 98.44 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.287, allocations: 3.938 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.287, allocations: 4 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2871, allocations: 4 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2872, allocations: 39.92 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.288, allocations: 444.6 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.2881, allocations: 49.31 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.2881, allocations: 13.72 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2881, allocations: 4 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2882, allocations: 30.56 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.2882, allocations: 4 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000284/0.2885, allocations: 61.47 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.2886, allocations: 81.11 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.2888, allocations: 170.1 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2888, allocations: 25.7 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.2889, allocations: 107.9 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.2889, allocations: 7.906 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.2889, allocations: 256 / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.289, allocations: 326.8 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.2891, allocations: 8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.2891, allocations: 33.62 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.2892, allocations: 21.72 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2893, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001659/0.2894, allocations: 69.53 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2895, allocations: 7.938 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.2895, allocations: 0 / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2895, allocations: 4 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.2896, allocations: 4 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2896, allocations: 0 / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.2897, allocations: 7.938 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2897, allocations: 0 / 0.904 GB, free: 59.93 MB / 0.6042 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 0.0001072/0.2898, allocations: 113.8 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.2899, allocations: 19.81 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.29, allocations: 16.55 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.29, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.29, allocations: 4 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.29, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.2905, allocations: 478.8 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2905, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.2906, allocations: 8 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2906, allocations: 4 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2906, allocations: 0 / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2906, allocations: 0 / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2906, allocations: 0 / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.2907, allocations: 81.83 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.2908, allocations: 85.02 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2909, allocations: 12.03 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.2909, allocations: 0 / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.291, allocations: 3.984 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.291, allocations: 4 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001269/0.2911, allocations: 124.9 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2911, allocations: 0 / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001978/0.2913, allocations: 8 kB / 0.905 GB, free: 58.87 MB / 0.6042 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.0004357/0.2918, allocations: 0.6286 MB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.292, allocations: 23.88 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.292, allocations: 0 / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.292, allocations: 8 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2923, allocations: 12.22 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2941, allocations: 1.396 MB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2943, allocations: 0.6965 MB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.2944, allocations: 4.438 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.2945, allocations: 23.42 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.2945, allocations: 0 / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.3118, allocations: 1.484 MB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.312, allocations: 229 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.181, allocations: 4 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)