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.367/1.367, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001412/0.001412, allocations: 179.6 kB / 325.9 MB, free: 2.688 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.791/1.791, allocations: 205 MB / 0.576 GB, free: 20.95 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.0008118/0.0008118, allocations: 86.3 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8.75 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2044, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006611/0.2051, allocations: 335 kB / 0.8965 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006203/0.2058, allocations: 343.7 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.223e-05/0.2058, allocations: 0 / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.2059, allocations: 4 kB / 0.8969 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.2059, allocations: 0 / 0.8969 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.2063, allocations: 71.78 kB / 0.8969 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.331e-05/0.2063, allocations: 8 kB / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2064, allocations: 4 kB / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.2064, allocations: 3.984 kB / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.2064, allocations: 0 / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2065, allocations: 0 / 0.8969 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.2068, allocations: 275.7 kB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.2068, allocations: 0 / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2069, allocations: 0 / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.207, allocations: 83.86 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.207, allocations: 0 / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.207, allocations: 0 / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2071, allocations: 0 / 0.8973 GB, free: 66.93 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.0002292/0.2073, allocations: 335.9 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2073, allocations: 8.031 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2074, allocations: 30.75 kB / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.2074, allocations: 16.81 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.2075, allocations: 164.4 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.2075, allocations: 384 / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.2075, allocations: 384 / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2077, allocations: 30.2 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2077, allocations: 3.938 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2077, allocations: 4 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2077, allocations: 0 / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.2077, allocations: 0 / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.2079, allocations: 153.6 kB / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.2079, allocations: 22.59 kB / 0.898 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.208, allocations: 8.797 kB / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.2085, allocations: 425.6 kB / 0.8984 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2085, allocations: 34.56 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.2085, allocations: 0 / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001901/0.2087, allocations: 37.64 kB / 0.8985 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2088, allocations: 51.41 kB / 0.8986 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.281e-05/0.2088, allocations: 89.86 kB / 0.8986 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2088, allocations: 25.7 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.522e-05/0.2088, allocations: 80.14 kB / 0.8987 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.2089, allocations: 7.984 kB / 0.8988 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.2089, allocations: 17.83 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.209, allocations: 310.8 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.209, allocations: 4 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.209, allocations: 3.938 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.209, allocations: 8.859 kB / 0.8991 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2091, allocations: 0 / 0.8991 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.88e-05/0.2091, allocations: 29.7 kB / 0.8991 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2092, allocations: 4 kB / 0.8991 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2092, allocations: 16.02 kB / 0.8991 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2092, allocations: 0 / 0.8991 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.2093, allocations: 3.984 kB / 0.8991 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2093, allocations: 0 / 0.8991 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.2093, allocations: 4 kB / 0.8991 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2093, allocations: 7.938 kB / 0.8991 GB, free: 64.71 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 6.282e-05/0.2094, allocations: 109.8 kB / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.2094, allocations: 0 / 0.8993 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.629e-05/0.2095, allocations: 44.75 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2095, allocations: 0 / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2095, allocations: 4 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2096, allocations: 0 / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.456e-05/0.2096, allocations: 145.7 kB / 0.8994 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2096, allocations: 3.938 kB / 0.8994 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.2097, allocations: 0 / 0.8994 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2097, allocations: 4 kB / 0.8994 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2097, allocations: 3.938 kB / 0.8994 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2097, allocations: 0 / 0.8994 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2097, allocations: 4.031 kB / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.2098, allocations: 65.05 kB / 0.8995 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.2098, allocations: 81.11 kB / 0.8996 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2098, allocations: 7.938 kB / 0.8996 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.2098, allocations: 0 / 0.8996 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.2099, allocations: 0 / 0.8996 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2099, allocations: 3.984 kB / 0.8996 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.427e-05/0.2099, allocations: 79.31 kB / 0.8997 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.2099, allocations: 0 / 0.8997 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002168/0.2101, allocations: 12 kB / 0.8997 GB, free: 64.05 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.0003897/0.2105, allocations: 0.6085 MB / 0.9003 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.2106, allocations: 8.031 kB / 0.9003 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2106, allocations: 0 / 0.9003 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.2106, allocations: 4 kB / 0.9003 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.2108, allocations: 0 / 0.9003 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.2111, allocations: 112.2 kB / 0.9004 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2112, allocations: 0.6692 MB / 0.9011 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.2113, allocations: 0 / 0.9011 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.2113, allocations: 13.31 kB / 0.9011 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2113, allocations: 4.125 kB / 0.9011 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.2221, allocations: 0.9945 MB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.2224, allocations: 225.2 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.694, allocations: 0 / 0.9023 GB, free: 61.45 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)