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.339/1.339, allocations: 252 MB / 267 MB, free: 10.96 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.0009501/0.0009502, allocations: 182.3 kB / 326.6 MB, free: 2.191 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.709/1.709, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0009411/0.0009414, allocations: 84 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 14.17 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 106.3 MB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006745/0.203, allocations: 322.2 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005099/0.2035, allocations: 304.5 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.2036, allocations: 0 / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.2036, allocations: 0 / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.2036, allocations: 0 / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.204, allocations: 67.84 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.2041, allocations: 4 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.2041, allocations: 4 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.2042, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.45e-05/0.2042, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2042, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.2045, allocations: 263.7 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-06/0.2046, allocations: 0 / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.2046, allocations: 25.7 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2047, allocations: 59.89 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2047, allocations: 0 / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2047, allocations: 0 / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2047, allocations: 4 kB / 0.9013 GB, free: 63.1 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.0002176/0.205, allocations: 335.4 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.205, allocations: 12.03 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.205, allocations: 30.56 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.2051, allocations: 0 / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.244e-05/0.2052, allocations: 167 kB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.2052, allocations: 0 / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.2052, allocations: 0 / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.2053, allocations: 29.7 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2053, allocations: 4 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.2053, allocations: 3.938 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2053, allocations: 3.984 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.2053, allocations: 4 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.938e-05/0.2054, allocations: 153.6 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.054e-05/0.2055, allocations: 22.5 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.2055, allocations: 4.859 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.2059, allocations: 429.6 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2059, allocations: 30.56 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2059, allocations: 4 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.2061, allocations: 37.69 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.2061, allocations: 51.41 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.524e-05/0.2061, allocations: 97.92 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.2061, allocations: 25.7 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-06/0.2062, allocations: 80.14 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2062, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-06/0.2062, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.2062, allocations: 314.8 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.2062, allocations: 0 / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.2063, allocations: 0 / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.2063, allocations: 12.02 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2063, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.616e-05/0.2063, allocations: 37.69 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2064, allocations: 4 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2064, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2064, allocations: 4 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.2064, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2065, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-06/0.2065, allocations: 0 / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2065, allocations: 3.984 kB / 0.9031 GB, free: 60.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2065, allocations: 121.8 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.2066, allocations: 0 / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.2066, allocations: 40.81 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2066, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2066, allocations: 3.938 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2067, allocations: 3.938 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.86e-05/0.2067, allocations: 153.7 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2067, allocations: 3.953 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.2067, allocations: 4.031 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2067, allocations: 0 / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2068, allocations: 4 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2068, allocations: 0 / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2068, allocations: 0 / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.707e-05/0.2068, allocations: 57.08 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.2069, allocations: 89.05 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.2069, allocations: 0 / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.2069, allocations: 4.031 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.2069, allocations: 0 / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.2069, allocations: 0 / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.264e-05/0.2069, allocations: 75.28 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2069, allocations: 0 / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001981/0.2071, allocations: 12 kB / 0.9037 GB, free: 60.26 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 (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.0002743/0.2074, allocations: 0.6085 MB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.594e-05/0.2075, allocations: 4 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2075, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.2075, allocations: 3.984 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2076, allocations: 5.312 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.2079, allocations: 108.3 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.208, allocations: 0.6772 MB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.713e-05/0.208, allocations: 3.938 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.208, allocations: 7.438 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.208, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.2184, allocations: 1.008 MB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.2186, allocations: 203.4 kB / 0.9063 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/1.623, allocations: 10.03 kB / 0.9063 GB, free: 57.66 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)