Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.001234/0.001234, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00126/0.00126, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.714/1.714, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001437/0.001437, allocations: 76.62 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002281/0.2073, allocations: 0.9138 MB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.2075, allocations: 43.78 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.2075, allocations: 8 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.2076, allocations: 3.938 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.2077, allocations: 7.922 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.592e-05/0.2077, allocations: 12 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2079, allocations: 67.78 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.208, allocations: 49.38 kB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.2081, allocations: 31.8 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.2081, allocations: 27.84 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.2082, allocations: 8 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.2082, allocations: 8 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.2082, allocations: 15.92 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.2082, allocations: 39.69 kB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2084, allocations: 83.91 kB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2084, allocations: 0 / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2084, allocations: 4 kB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2084, allocations: 0 / 0.7843 GB, free: 12.45 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.0004558/0.2089, allocations: 387.1 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2089, allocations: 8.031 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.2089, allocations: 42.73 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.209, allocations: 12.75 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2092, allocations: 191 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2092, allocations: 12.31 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2092, allocations: 12.38 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2094, allocations: 96.72 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2094, allocations: 3.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2094, allocations: 7.938 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2094, allocations: 0 / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.2095, allocations: 47.86 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.2101, allocations: 449.6 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.2102, allocations: 37.25 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.2102, allocations: 17.78 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2102, allocations: 0 / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.443e-05/0.2103, allocations: 34.56 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2103, allocations: 0 / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.2105, allocations: 65.47 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2106, allocations: 77.11 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.2108, allocations: 171.2 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.2108, allocations: 29.7 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2109, allocations: 112.2 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.2109, allocations: 3.906 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.211, allocations: 17.72 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2111, allocations: 322.8 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.2111, allocations: 8 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.2112, allocations: 25.64 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.2112, allocations: 25.72 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2112, allocations: 0 / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.938e-05/0.2113, allocations: 65.53 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2113, allocations: 11.94 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2114, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2114, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.2114, allocations: 4 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2114, allocations: 0 / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.2115, allocations: 7.906 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2115, allocations: 4.062 kB / 0.7865 GB, free: 9.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/0.2116, allocations: 117.8 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2116, allocations: 11.84 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2117, allocations: 16.55 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2117, allocations: 8.078 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2117, allocations: 0 / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2117, allocations: 0 / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.2121, allocations: 482.8 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2121, allocations: 0 / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.2121, allocations: 15.94 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2121, allocations: 0 / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2121, allocations: 0 / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2121, allocations: 7.875 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2121, allocations: 0 / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.2122, allocations: 81.91 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2123, allocations: 96.91 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2123, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.2123, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.2124, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2124, allocations: 7.984 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.2125, allocations: 124 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2125, allocations: 0 / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001823/0.2127, allocations: 12.03 kB / 0.7874 GB, free: 8.836 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 (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.0003713/0.213, allocations: 0.6209 MB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.2131, allocations: 15.94 kB / 0.788 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2132, allocations: 8.156 kB / 0.788 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.2132, allocations: 8 kB / 0.788 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2133, allocations: 0 / 0.788 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2145, allocations: 1.398 MB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2147, allocations: 0.6963 MB / 0.7901 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.2148, allocations: 4.438 kB / 0.7901 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2148, allocations: 31.42 kB / 0.7901 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2148, allocations: 0 / 0.7901 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.2255, allocations: 1.568 MB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.2257, allocations: 208.1 kB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.84, allocations: 0 / 0.7919 GB, free: 4.203 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)