Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.672/1.672, allocations: 287.4 MB / 302.5 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 185.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007514, allocations: 92.03 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.000388, allocations: 17.12 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2106, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006917/0.2114, allocations: 315.6 kB / 0.979 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.2119, allocations: 303.2 kB / 0.9793 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.145e-05/0.2119, allocations: 4 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.212, allocations: 0 / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.212, allocations: 4 kB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.2124, allocations: 67.86 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.767e-05/0.2125, allocations: 0 / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.2125, allocations: 3.938 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.2125, allocations: 0 / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.2126, allocations: 0 / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2126, allocations: 4 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.2129, allocations: 263.6 kB / 0.9797 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.2129, allocations: 4 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.213, allocations: 25.7 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2131, allocations: 59.89 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2131, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2131, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2131, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 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.0002369/0.2133, allocations: 335.5 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.2134, allocations: 8.031 kB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.2134, allocations: 30.75 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2135, allocations: 0.9375 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.2136, allocations: 168.4 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.2136, allocations: 384 / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2136, allocations: 384 / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.2137, allocations: 38.19 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2137, allocations: 3.938 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.2137, allocations: 0 / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2137, allocations: 4 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.926e-05/0.2137, allocations: 3.984 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.2139, allocations: 141.7 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.2139, allocations: 22.61 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.2139, allocations: 8.859 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.2143, allocations: 421.6 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2143, allocations: 38.5 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2144, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.2145, allocations: 41.62 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2145, allocations: 55.41 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.737e-05/0.2145, allocations: 89.86 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.2146, allocations: 25.7 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.249e-05/0.2146, allocations: 80.14 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2146, allocations: 3.906 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.2146, allocations: 3.938 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.2147, allocations: 315 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.2147, allocations: 0 / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.2147, allocations: 4 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.2147, allocations: 16.78 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2147, allocations: 4 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.159e-05/0.2148, allocations: 29.7 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2148, allocations: 7.938 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2148, allocations: 4.031 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2148, allocations: 4 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.2149, allocations: 4 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2149, allocations: 3.984 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.2149, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2149, allocations: 4 kB / 0.9816 GB, free: 24.83 MB / 0.6198 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.477e-05/0.215, allocations: 115.1 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.215, allocations: 3.984 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.2151, allocations: 48.98 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2151, allocations: 0 / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2151, allocations: 0 / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2151, allocations: 0 / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.257e-05/0.2151, allocations: 149.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2152, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.2152, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2152, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2152, allocations: 3.938 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2152, allocations: 4 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2152, allocations: 0 / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.59e-05/0.2153, allocations: 65.09 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.2153, allocations: 81.05 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2153, allocations: 7.938 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-06/0.2153, allocations: 0 / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.2154, allocations: 0 / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2154, allocations: 0 / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.2154, allocations: 75.28 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2154, allocations: 4.031 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002051/0.2156, allocations: 8 kB / 0.9821 GB, free: 24.18 MB / 0.6198 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.0002738/0.2159, allocations: 0.6046 MB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.289e-05/0.2159, allocations: 15.92 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2159, allocations: 4.094 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.216, allocations: 4 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.2161, allocations: 5.828 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.2163, allocations: 105.4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.2164, allocations: 0.677 MB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.2165, allocations: 0 / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.2165, allocations: 7.438 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2165, allocations: 4.062 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.2281, allocations: 0.9809 MB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.2283, allocations: 198.7 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.729, allocations: 0 / 0.9847 GB, free: 21.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)