Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.407/1.407, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009643/0.0009644, allocations: 175.8 kB / 327 MB, free: 2.121 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.537/1.537, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0006903/0.0006902, allocations: 95.78 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 15.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1958, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006423/0.1965, allocations: 330 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005419/0.197, allocations: 352.3 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.05e-05/0.197, allocations: 4 kB / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.1971, allocations: 0 / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1971, allocations: 0 / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1974, allocations: 71.84 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.42e-05/0.1974, allocations: 0 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1975, allocations: 0 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.1975, allocations: 0 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.091e-05/0.1975, allocations: 4 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1975, allocations: 4 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.1978, allocations: 267.7 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1979, allocations: 3.984 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.1979, allocations: 29.64 kB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.198, allocations: 87.86 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.198, allocations: 0 / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.198, allocations: 0 / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.125e-06/0.198, allocations: 3.938 kB / 0.902 GB, free: 62.29 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001927/0.1982, allocations: 327.6 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1983, allocations: 12.03 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.1983, allocations: 34.75 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1983, allocations: 8.875 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.612e-05/0.1984, allocations: 164.4 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1984, allocations: 384 / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1984, allocations: 384 / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.1985, allocations: 26.27 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1985, allocations: 7.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1985, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1985, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.1986, allocations: 7.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.833e-05/0.1987, allocations: 149.7 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.037e-05/0.1987, allocations: 18.61 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.098e-05/0.1987, allocations: 4.859 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.1991, allocations: 429.6 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.1991, allocations: 30.56 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1991, allocations: 0 / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.1993, allocations: 41.58 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.1993, allocations: 51.41 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.597e-05/0.1993, allocations: 89.86 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.1993, allocations: 25.7 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-06/0.1993, allocations: 84.27 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1994, allocations: 3.984 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.1994, allocations: 4 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.1994, allocations: 310.8 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.1994, allocations: 4 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-06/0.1994, allocations: 0 / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.1995, allocations: 8.859 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.978e-05/0.1995, allocations: 41.64 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1995, allocations: 4 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1995, allocations: 7.938 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1996, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-05/0.1996, allocations: 7.969 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1996, allocations: 0 / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.1996, allocations: 0 / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1996, allocations: 4 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.035e-05/0.1997, allocations: 109.8 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.1997, allocations: 4.031 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.1998, allocations: 44.69 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1998, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1998, allocations: 4 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1998, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.648e-05/0.1999, allocations: 145.7 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1999, allocations: 3.938 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.1999, allocations: 4 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1999, allocations: 0 / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1999, allocations: 7.969 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1999, allocations: 0 / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1999, allocations: 3.984 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.397e-05/0.2, allocations: 53.14 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.2, allocations: 77.11 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.2, allocations: 7.938 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.2, allocations: 0 / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2, allocations: 4.031 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2, allocations: 7.984 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.337e-05/0.2, allocations: 79.22 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2001, allocations: 4 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001731/0.2002, allocations: 8 kB / 0.9044 GB, free: 59.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0002555/0.2005, allocations: 0.6125 MB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.285e-05/0.2006, allocations: 4 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2006, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.2006, allocations: 7.938 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.2007, allocations: 2.234 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.2009, allocations: 112.2 kB / 0.9051 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.201, allocations: 0.6692 MB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.201, allocations: 8.109 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.2011, allocations: 11.44 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2011, allocations: 0 / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009811/0.2109, allocations: 0.9964 MB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.2111, allocations: 225.2 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.663, allocations: 8 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)