Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_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.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001154/0.001154, allocations: 177.9 kB / 326.5 MB, free: 2.246 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.244/2.244, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009268/0.0009267, allocations: 85.44 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 10.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001264/0.2823, allocations: 0.5563 MB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.2824, allocations: 49.05 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.2825, allocations: 0 / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.2825, allocations: 7.922 kB / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2826, allocations: 7.984 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-05/0.2827, allocations: 15.98 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.2828, allocations: 39.91 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2829, allocations: 29.56 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.283, allocations: 23.86 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.2831, allocations: 23.86 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2831, allocations: 4 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.864e-06/0.2831, allocations: 0 / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.2831, allocations: 11.92 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2832, allocations: 37.64 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.2833, allocations: 59.86 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2833, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2833, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2833, allocations: 0 / 0.901 GB, free: 63 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.000439/0.2838, allocations: 367.9 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2838, allocations: 12.03 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2839, allocations: 46.48 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.2839, allocations: 11.81 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2841, allocations: 194.8 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2841, allocations: 4 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.2842, allocations: 8 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2843, allocations: 107.2 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2843, allocations: 0 / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2844, allocations: 0 / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2844, allocations: 0 / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.2845, allocations: 35.98 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.285, allocations: 460.5 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.285, allocations: 41.2 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.285, allocations: 0 / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2851, allocations: 34.59 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2851, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.2852, allocations: 65.78 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2853, allocations: 81.05 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2854, allocations: 166.2 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.2854, allocations: 25.7 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.2855, allocations: 108 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.2855, allocations: 3.906 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.2855, allocations: 0 / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.2856, allocations: 322.8 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.2856, allocations: 12.03 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2857, allocations: 21.7 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.2857, allocations: 8 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2857, allocations: 0 / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.1e-05/0.2858, allocations: 61.5 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2858, allocations: 4 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2858, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2858, allocations: 4.062 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.2859, allocations: 11.98 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2859, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.286, allocations: 15.84 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.286, allocations: 4 kB / 0.9031 GB, free: 60.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.286, allocations: 117.8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.2861, allocations: 11.86 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.2861, allocations: 16.55 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2861, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2861, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2861, allocations: 8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.2865, allocations: 470.8 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2865, allocations: 0 / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.2865, allocations: 7.938 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2865, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2865, allocations: 7.984 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2865, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2865, allocations: 4.062 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.683e-05/0.2866, allocations: 95.58 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2867, allocations: 88.91 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.2867, allocations: 4 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.2867, allocations: 4 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2868, allocations: 7.969 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.2868, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.2868, allocations: 124.9 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001712/0.287, allocations: 8 kB / 0.9041 GB, free: 59.48 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 (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.000275/0.2873, allocations: 0.7042 MB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.2874, allocations: 23.92 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2874, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.2874, allocations: 4 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.2875, allocations: 10.06 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.2882, allocations: 0.7457 MB / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2884, allocations: 0.7004 MB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.2884, allocations: 8.422 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.2885, allocations: 19.44 kB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2885, allocations: 0 / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2999, allocations: 1.576 MB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.3002, allocations: 200.5 kB / 0.908 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.756, allocations: 0 / 0.908 GB, free: 55.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1)