Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001017/0.001017, allocations: 181 kB / 371.8 MB, free: 10.29 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.364/1.364, allocations: 205.4 MB / 0.6305 GB, free: 10 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.000821/0.0008211, allocations: 89.17 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005673/0.0005674, allocations: 13.28 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006376/0.2239, allocations: 314.1 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.2244, allocations: 297 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.2244, allocations: 0 / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.2245, allocations: 0 / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/0.2245, allocations: 0 / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.2248, allocations: 61.92 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.369e-05/0.2248, allocations: 8 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.2249, allocations: 3.984 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.2249, allocations: 0 / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.486e-05/0.2249, allocations: 4 kB / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.2249, allocations: 0 / 0.9801 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.2252, allocations: 259.6 kB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-06/0.2253, allocations: 3.984 kB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.2253, allocations: 25.7 kB / 0.9804 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2254, allocations: 55.84 kB / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2254, allocations: 0 / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2254, allocations: 0 / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2254, allocations: 0 / 0.9805 GB, free: 26.58 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.0002167/0.2256, allocations: 335.4 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2257, allocations: 16.02 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.2257, allocations: 30.56 kB / 0.9808 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.2258, allocations: 4 kB / 0.9808 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.844e-05/0.2258, allocations: 171 kB / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2258, allocations: 0 / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.2258, allocations: 0 / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.2259, allocations: 29.69 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2259, allocations: 0 / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.226, allocations: 4 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.226, allocations: 3.984 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.226, allocations: 4 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.26e-05/0.2261, allocations: 149.6 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.326e-05/0.2261, allocations: 22.55 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.2265, allocations: 429.5 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.2265, allocations: 38.55 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2266, allocations: 0 / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.2267, allocations: 29.7 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2267, allocations: 51.41 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.572e-05/0.2267, allocations: 89.86 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.2267, allocations: 29.7 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.2268, allocations: 80.14 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.2268, allocations: 4.031 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2268, allocations: 8 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.2269, allocations: 310.8 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.2269, allocations: 3.938 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.2269, allocations: 4 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.569e-05/0.2269, allocations: 3.984 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2269, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.222e-05/0.227, allocations: 33.66 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.227, allocations: 8 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.227, allocations: 4.094 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.227, allocations: 0 / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.2271, allocations: 0 / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2271, allocations: 0 / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.2271, allocations: 4 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2271, allocations: 0 / 0.9823 GB, free: 24.41 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.683e-05/0.2271, allocations: 111.2 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.2272, allocations: 11.89 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.2272, allocations: 45.05 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2273, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2273, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.2273, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.66e-05/0.2273, allocations: 145.7 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2273, allocations: 0 / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.2273, allocations: 4 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2273, allocations: 3.953 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.2274, allocations: 0 / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2274, allocations: 0 / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2274, allocations: 3.938 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.074e-05/0.2274, allocations: 69.09 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.2275, allocations: 81.05 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.2275, allocations: 7.953 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.2275, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.2275, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2275, allocations: 4 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.281e-05/0.2275, allocations: 79.31 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2275, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002156/0.2278, allocations: 8 kB / 0.9828 GB, free: 23.75 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.0002681/0.228, allocations: 0.6047 MB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.72e-05/0.2281, allocations: 15.95 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2281, allocations: 0 / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.2281, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.906e-05/0.2282, allocations: 3.953 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.2284, allocations: 100.4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.2285, allocations: 0.677 MB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.71e-05/0.2286, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.2286, allocations: 7.438 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2286, allocations: 4.125 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.2407, allocations: 0.9901 MB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.2409, allocations: 206.6 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.712, allocations: 0 / 0.9854 GB, free: 21.17 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)