Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 192.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 69.22 kB / 0.6711 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1909, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002063/0.193, allocations: 1.51 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.1935, allocations: 372.8 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.1935, allocations: 4 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.1936, allocations: 3.938 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.1936, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1939, allocations: 99.83 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.194, allocations: 31.86 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.1941, allocations: 7.984 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.1941, allocations: 8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.1941, allocations: 15.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1941, allocations: 4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.1944, allocations: 275.6 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.1945, allocations: 7.984 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.1945, allocations: 11.94 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1946, allocations: 108 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1946, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1946, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1947, allocations: 4 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003598/0.195, allocations: 363.4 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1951, allocations: 11.97 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.1951, allocations: 30.75 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1951, allocations: 8.844 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.1952, allocations: 164.4 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1952, allocations: 8.375 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1952, allocations: 384 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1954, allocations: 54.23 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1954, allocations: 3.938 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.1954, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-06/0.1954, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1955, allocations: 35.91 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1958, allocations: 248.9 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1959, allocations: 46.5 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.196, allocations: 24.89 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.1966, allocations: 457.5 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1966, allocations: 38.55 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1966, allocations: 3.938 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002902/0.1969, allocations: 81.5 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.1969, allocations: 55.53 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.197, allocations: 105.8 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.197, allocations: 29.7 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.197, allocations: 84.14 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.1971, allocations: 7.891 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1971, allocations: 17.72 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.1972, allocations: 310.8 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1972, allocations: 19.98 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.1973, allocations: 19.97 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1974, allocations: 40.77 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1975, allocations: 7.938 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.1976, allocations: 69.72 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.1976, allocations: 4 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.1976, allocations: 0 / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.1977, allocations: 0 / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.1977, allocations: 12.23 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1977, allocations: 3.938 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.1978, allocations: 8 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1978, allocations: 0 / 0.7876 GB, free: 8.695 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 5.51e-05/0.1979, allocations: 113.8 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1979, allocations: 11.98 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1981, allocations: 77.11 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1981, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1981, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1981, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1982, allocations: 165.6 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1982, allocations: 0 / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.1983, allocations: 12.03 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1983, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-06/0.1983, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1983, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1983, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1985, allocations: 171.3 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.1986, allocations: 89.12 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.1986, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1986, allocations: 4 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.1987, allocations: 3.984 kB / 0.7882 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1987, allocations: 4 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.1987, allocations: 83.28 kB / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1987, allocations: 0 / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002042/0.1989, allocations: 12 kB / 0.7883 GB, free: 7.859 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0004482/0.1994, allocations: 0.7123 MB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1996, allocations: 39.91 kB / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1996, allocations: 96 / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.1996, allocations: 27.97 kB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1999, allocations: 0 / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.2002, allocations: 155 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2004, allocations: 0.6768 MB / 0.7899 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.2004, allocations: 8.047 kB / 0.7899 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2004, allocations: 11.44 kB / 0.7899 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2004, allocations: 3.938 kB / 0.7899 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.803/3.004, allocations: 1.438 MB / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/3.004, allocations: 198.3 kB / 0.7915 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/4.901, allocations: 7.938 kB / 0.7915 GB, free: 4.543 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)