Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.To_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.001008/0.001008, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001204/0.001204, allocations: 172.7 kB / 15.95 MB, free: 208 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.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005576/0.0005576, allocations: 24.59 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2753, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.000972/0.2763, allocations: 0.5364 MB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.2764, allocations: 43.72 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.2765, allocations: 4 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.2765, allocations: 7.922 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.2766, allocations: 3.938 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.983e-05/0.2767, allocations: 19.92 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.2767, allocations: 59.84 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2769, allocations: 37.56 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.2769, allocations: 11.88 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.277, allocations: 27.8 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.277, allocations: 3.984 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.277, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2771, allocations: 15.92 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.2771, allocations: 37.64 kB / 0.7882 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.2772, allocations: 56.09 kB / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2772, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2772, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2772, allocations: 0 / 0.7882 GB, free: 10.97 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.0003773/0.2776, allocations: 379 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2776, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.2777, allocations: 42.55 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.2777, allocations: 11.91 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2779, allocations: 194.8 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2779, allocations: 8 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2779, allocations: 11.94 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2781, allocations: 87.38 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2781, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2781, allocations: 8 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2781, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.2782, allocations: 47.86 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.2787, allocations: 444.6 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.2788, allocations: 45.2 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.2789, allocations: 18.78 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2789, allocations: 4.062 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2789, allocations: 30.56 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2789, allocations: 3.938 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001676/0.2791, allocations: 61.53 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2791, allocations: 81.36 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2793, allocations: 167.3 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2793, allocations: 25.7 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.2794, allocations: 111.9 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.2794, allocations: 4 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.2794, allocations: 0 / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.2795, allocations: 318.8 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2795, allocations: 8 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.2795, allocations: 29.64 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.2796, allocations: 12 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2796, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.551e-05/0.2797, allocations: 61.47 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2797, allocations: 4 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2797, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2797, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.2798, allocations: 19.92 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2798, allocations: 64 / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.2798, allocations: 4 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.2799, allocations: 8.078 kB / 0.7904 GB, free: 8.492 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 7.532e-05/0.2799, allocations: 114.5 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.28, allocations: 15.84 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.28, allocations: 16.55 kB / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.28, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.28, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.28, allocations: 0 / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.2804, allocations: 490.6 kB / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2804, allocations: 0 / 0.791 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.2805, allocations: 8 kB / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.2805, allocations: 3.984 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2805, allocations: 0 / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2805, allocations: 4 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2805, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.315e-05/0.2806, allocations: 85.86 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.2806, allocations: 96.88 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2807, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.2807, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2807, allocations: 4 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2807, allocations: 4 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.2808, allocations: 128 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2808, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001797/0.281, 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.0003506/0.2813, allocations: 0.617 MB / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.2814, allocations: 28.02 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2814, allocations: 0 / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.2815, allocations: 7.938 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.0001584/0.2816, allocations: 8 kB / 0.792 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.2824, allocations: 0.5905 MB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2827, allocations: 0.7004 MB / 0.7932 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.2827, allocations: 4.438 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.2828, allocations: 31.36 kB / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2828, allocations: 0 / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.2957, allocations: 1.583 MB / 0.7948 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.2959, allocations: 192.4 kB / 0.795 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.177, allocations: 0 / 0.795 GB, free: 3.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) Environment - environmentSimulation: