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_hp.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_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.501/1.501, allocations: 252 MB / 267.3 MB, free: 10.85 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.001264/0.001265, allocations: 174.6 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.578 GB, free: 20.44 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.000809/0.000809, allocations: 90.31 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003871, allocations: 15.39 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 106.3 MB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001196/0.2902, allocations: 0.5769 MB / 0.9015 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.2904, allocations: 43.78 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.2905, allocations: 0 / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.2905, allocations: 7.922 kB / 0.9015 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2907, allocations: 3.938 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.694e-05/0.2907, allocations: 19.98 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2909, allocations: 67.78 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.291, allocations: 37.38 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.2911, allocations: 19.88 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.2912, allocations: 31.78 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2912, allocations: 4 kB / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.2912, allocations: 0 / 0.9017 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2913, allocations: 7.938 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.2913, allocations: 57.39 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.2914, allocations: 79.66 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2915, allocations: 0 / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2915, allocations: 0 / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2915, allocations: 0 / 0.9019 GB, free: 62.8 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.0004922/0.292, allocations: 367.6 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.292, allocations: 12.03 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.2921, allocations: 38.73 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2921, allocations: 20.75 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2924, allocations: 188.2 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2924, allocations: 4.375 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2924, allocations: 12.31 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2926, allocations: 95.94 kB / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2926, allocations: 7.938 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2926, allocations: 0 / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2926, allocations: 4 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.2927, allocations: 43.86 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.2933, allocations: 444.6 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.2934, allocations: 49.19 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.2934, allocations: 13.84 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2934, allocations: 0 / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.2934, allocations: 38.56 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2934, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001965/0.2936, allocations: 65.47 kB / 0.9032 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2937, allocations: 77.11 kB / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2938, allocations: 166.2 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2938, allocations: 29.7 kB / 0.9035 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2939, allocations: 103.9 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-06/0.2939, allocations: 15.84 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.2939, allocations: 0 / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.294, allocations: 319.1 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.294, allocations: 8 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.2941, allocations: 29.64 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.2941, allocations: 25.72 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2941, allocations: 0 / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.565e-05/0.2942, allocations: 61.55 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2942, allocations: 11.92 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2943, allocations: 4.062 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2943, allocations: 8 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.2944, allocations: 4 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2944, allocations: 0 / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.2944, allocations: 7.938 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.2944, allocations: 0 / 0.904 GB, free: 60.3 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 7.68e-05/0.2945, allocations: 113.8 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.2946, allocations: 15.75 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.2946, allocations: 16.55 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2946, allocations: 4 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2946, allocations: 0 / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2946, allocations: 4.094 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.295, allocations: 474.8 kB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.295, allocations: 0 / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.295, allocations: 7.984 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.295, allocations: 0 / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.295, allocations: 8.062 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.295, allocations: 3.938 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2951, allocations: 0 / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.138e-05/0.2951, allocations: 81.84 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.2952, allocations: 85 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.2952, allocations: 11.94 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.2953, allocations: 4.031 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.2953, allocations: 0 / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2953, allocations: 0 / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.992e-05/0.2954, allocations: 128.9 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.313e-06/0.2954, allocations: 0 / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001886/0.2956, allocations: 15.94 kB / 0.905 GB, free: 59.24 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.0003485/0.2959, allocations: 0.6248 MB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.2961, allocations: 19.94 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2961, allocations: 0 / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.2961, allocations: 4 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.2963, allocations: 11.94 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2974, allocations: 1.394 MB / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.2975, allocations: 0.7004 MB / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.2976, allocations: 4.438 kB / 0.9077 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.2976, allocations: 27.42 kB / 0.9077 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2977, allocations: 0 / 0.9077 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.3109, allocations: 1.473 MB / 0.9091 GB, free: 55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.3113, allocations: 225.8 kB / 0.9093 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.124, allocations: 0 / 0.9093 GB, free: 54.74 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)