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.721/1.721, allocations: 252 MB / 267 MB, free: 10.98 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.001821/0.001821, allocations: 175.1 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008135/0.0008136, allocations: 97.03 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 11.22 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009263/0.2106, allocations: 0.5539 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001024/0.2108, allocations: 51.7 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.2108, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.2109, allocations: 3.938 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.211, allocations: 3.938 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.227e-05/0.211, allocations: 15.98 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.2111, allocations: 59.84 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2112, allocations: 41.55 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.2113, allocations: 19.88 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.2113, allocations: 23.8 kB / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2114, allocations: 0 / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.2114, allocations: 4 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.2114, allocations: 11.86 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.2114, allocations: 41.64 kB / 0.9011 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.03e-05/0.2115, allocations: 59.86 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2115, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2115, allocations: 0 / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2115, allocations: 0 / 0.9012 GB, free: 62.91 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.0003273/0.2119, allocations: 367.4 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2119, allocations: 8.031 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.212, allocations: 50.48 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.212, allocations: 11.81 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2122, allocations: 202.8 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2122, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2122, allocations: 8 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2123, allocations: 95.28 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2124, allocations: 4 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2124, allocations: 0 / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2124, allocations: 0 / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.2125, allocations: 39.92 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.2129, allocations: 452.5 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.213, allocations: 45.34 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.213, allocations: 17.78 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.213, allocations: 0 / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.213, allocations: 30.56 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2131, allocations: 0 / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.2132, allocations: 65.44 kB / 0.9025 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2133, allocations: 77.11 kB / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2134, allocations: 170.4 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.2134, allocations: 25.7 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.2134, allocations: 104 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-06/0.2134, allocations: 11.91 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.2135, allocations: 0 / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.2135, allocations: 322.8 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.2135, allocations: 4 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.2136, allocations: 25.7 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.2136, allocations: 12 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2136, allocations: 3.953 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.026e-05/0.2137, allocations: 61.55 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2137, allocations: 4 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2137, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2137, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.2138, allocations: 15.92 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2138, allocations: 0 / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.2138, allocations: 11.84 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2138, allocations: 8 kB / 0.9033 GB, free: 60.43 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 5.499e-05/0.2139, allocations: 113.8 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.2139, allocations: 11.86 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.214, allocations: 16.55 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.214, allocations: 0 / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.214, allocations: 0 / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.214, allocations: 0 / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.2143, allocations: 478.8 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2143, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.2143, allocations: 4 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2143, allocations: 3.984 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2143, allocations: 0 / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2143, allocations: 4 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2144, allocations: 0 / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.432e-05/0.2144, allocations: 85.86 kB / 0.904 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.2145, allocations: 97 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2145, allocations: 7.984 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.2145, allocations: 4 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.2145, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2146, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.2146, allocations: 128.9 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2146, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001743/0.2148, allocations: 12.03 kB / 0.9043 GB, free: 59.38 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.0002533/0.2151, allocations: 0.619 MB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.2152, allocations: 20.08 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2152, allocations: 0 / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.2152, allocations: 11.94 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2153, allocations: 4 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.216, allocations: 0.5985 MB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2161, allocations: 0.6965 MB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.2162, allocations: 8.438 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.2162, allocations: 27.42 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2162, allocations: 0 / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.2279, allocations: 1.609 MB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.2281, allocations: 197.3 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.838, allocations: 0 / 0.908 GB, free: 55.62 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)