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_bar.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_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.36/1.36, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001068/0.001068, allocations: 177.9 kB / 326.5 MB, free: 2.242 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.245/2.245, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.001191/0.001192, allocations: 98.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 10.06 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001207/0.2863, allocations: 0.5641 MB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.2865, allocations: 45.05 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.2865, allocations: 4 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2866, allocations: 7.922 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2867, allocations: 3.984 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.24e-05/0.2867, allocations: 15.98 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.2868, allocations: 39.84 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.287, allocations: 41.55 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.287, allocations: 19.88 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.2871, allocations: 19.86 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2871, allocations: 0 / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.2871, allocations: 4 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2872, allocations: 19.91 kB / 0.9009 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.2872, allocations: 37.64 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.833e-05/0.2873, allocations: 51.88 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2873, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2873, allocations: 0 / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2873, allocations: 4 kB / 0.901 GB, free: 62.97 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.0003817/0.2877, allocations: 364.1 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2877, allocations: 8.031 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2878, allocations: 46.55 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2878, allocations: 19.75 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.288, allocations: 198.8 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.288, allocations: 7.984 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.288, allocations: 8 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2882, allocations: 96.64 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2882, allocations: 4 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2882, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2882, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.2883, allocations: 39.98 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.2888, allocations: 448.6 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.2889, allocations: 37.22 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.2889, allocations: 4 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2889, allocations: 30.66 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2889, allocations: 3.938 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.2891, allocations: 61.56 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2891, allocations: 81.05 kB / 0.9024 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2893, allocations: 166.4 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.2893, allocations: 29.7 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2893, allocations: 104 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.2894, allocations: 7.906 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2894, allocations: 0 / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.2894, allocations: 318.8 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.2895, allocations: 8 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.2895, allocations: 25.7 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.2895, allocations: 15.94 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2895, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.83e-05/0.2896, allocations: 61.5 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2896, allocations: 4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2896, allocations: 3.984 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2896, allocations: 4 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.2897, allocations: 8 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2897, allocations: 0 / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.2898, allocations: 11.84 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2898, allocations: 8.062 kB / 0.9031 GB, free: 60.53 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.725e-05/0.2899, allocations: 113.8 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.2899, allocations: 15.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.2899, allocations: 12.55 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2899, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2899, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2899, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.2903, allocations: 482.8 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2903, allocations: 0 / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.2903, allocations: 7.984 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2903, allocations: 3.938 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2903, allocations: 4.094 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2903, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2904, allocations: 0 / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.2904, allocations: 99.62 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.2905, allocations: 92.91 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2905, allocations: 4 kB / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.2905, allocations: 0 / 0.9039 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.2906, allocations: 4 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2906, allocations: 0 / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.2906, allocations: 128.9 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2907, allocations: 4.031 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001796/0.2908, allocations: 8 kB / 0.9041 GB, free: 59.46 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.0003015/0.2911, allocations: 0.6992 MB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.2912, allocations: 23.94 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2912, allocations: 0 / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.2913, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2914, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.2921, allocations: 0.7592 MB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2923, allocations: 0.7004 MB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.2923, allocations: 12.36 kB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2924, allocations: 19.44 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2924, allocations: 0 / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.3051, allocations: 1.592 MB / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.3053, allocations: 194.6 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.825, allocations: 0 / 0.908 GB, free: 55.45 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)