Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.005958/0.005963, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001345/0.001345, allocations: 191.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8811/0.8811, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 65.03 kB / 0.5951 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1913, allocations: 82.03 MB / 0.6752 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002005/0.1934, allocations: 0.5901 MB / 0.6758 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.1942, allocations: 323.2 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.1942, allocations: 0 / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1943, allocations: 4 kB / 0.6761 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.1943, allocations: 0 / 0.6761 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.1949, allocations: 107.6 kB / 0.6762 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.1949, allocations: 4 kB / 0.6762 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.195, allocations: 3.984 kB / 0.6762 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.195, allocations: 0 / 0.6762 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.195, allocations: 0 / 0.6762 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.195, allocations: 0 / 0.6762 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1955, allocations: 283.6 kB / 0.6765 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1955, allocations: 0 / 0.6765 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.1956, allocations: 7.875 kB / 0.6765 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1958, allocations: 88.02 kB / 0.6766 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1958, allocations: 0 / 0.6766 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1958, allocations: 4 kB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1958, allocations: 0 / 0.6766 GB, free: 9.395 MB / 0.5137 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.0003878/0.1962, allocations: 333.2 kB / 0.6769 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1963, allocations: 12.02 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1963, allocations: 30.75 kB / 0.6769 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.1964, allocations: 4.938 kB / 0.6769 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1965, allocations: 168.3 kB / 0.6771 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1965, allocations: 4.375 kB / 0.6771 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1965, allocations: 384 / 0.6771 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1967, allocations: 26.27 kB / 0.6771 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1967, allocations: 3.938 kB / 0.6771 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1967, allocations: 0 / 0.6771 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1967, allocations: 8 kB / 0.6771 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.1967, allocations: 3.984 kB / 0.6771 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.1969, allocations: 149.7 kB / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.197, allocations: 26.55 kB / 0.6773 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.197, allocations: 4.859 kB / 0.6773 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.1976, allocations: 425.6 kB / 0.6777 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1977, allocations: 34.56 kB / 0.6778 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1977, allocations: 0 / 0.6778 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002279/0.1979, allocations: 37.62 kB / 0.6778 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.198, allocations: 55.41 kB / 0.6778 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.198, allocations: 93.8 kB / 0.6779 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.198, allocations: 25.7 kB / 0.678 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.1981, allocations: 80.14 kB / 0.678 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1981, allocations: 7.891 kB / 0.678 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1982, allocations: 21.84 kB / 0.6781 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1983, allocations: 310.8 kB / 0.6784 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.1983, allocations: 0 / 0.6784 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.1983, allocations: 0 / 0.6784 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.1983, allocations: 8.859 kB / 0.6784 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1983, allocations: 0 / 0.6784 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.386e-05/0.1984, allocations: 33.69 kB / 0.6784 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1984, allocations: 13.81 kB / 0.6784 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1984, allocations: 3.938 kB / 0.6784 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1985, allocations: 0 / 0.6784 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.1985, allocations: 0 / 0.6784 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1985, allocations: 7.938 kB / 0.6784 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.1985, allocations: 3.938 kB / 0.6784 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1986, allocations: 4 kB / 0.6784 GB, free: 7.168 MB / 0.5137 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 7.022e-05/0.1986, allocations: 106.5 kB / 0.6785 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1987, allocations: 0 / 0.6785 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.83e-05/0.1987, allocations: 48.75 kB / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1988, allocations: 0 / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1988, allocations: 0 / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1988, allocations: 0 / 0.6786 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1989, allocations: 149.7 kB / 0.6787 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1989, allocations: 0 / 0.6787 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1989, allocations: 4 kB / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1989, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1989, allocations: 3.938 kB / 0.6787 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1989, allocations: 0 / 0.6787 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1989, allocations: 4.031 kB / 0.6787 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.199, allocations: 57.08 kB / 0.6788 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1991, allocations: 81.09 kB / 0.6789 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1991, allocations: 3.938 kB / 0.6789 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.1991, allocations: 4 kB / 0.6789 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1992, allocations: 4 kB / 0.6789 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1992, allocations: 7.938 kB / 0.6789 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.1992, allocations: 79.31 kB / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1992, allocations: 0 / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002259/0.1994, allocations: 11.94 kB / 0.679 GB, free: 6.516 MB / 0.5137 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.0004327/0.1999, allocations: 0.6085 MB / 0.6796 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.2, allocations: 12.02 kB / 0.6796 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2, allocations: 0 / 0.6796 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-06/0.2, allocations: 4 kB / 0.6796 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.2001, allocations: 0 / 0.6796 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.2005, allocations: 110.5 kB / 0.6797 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2008, allocations: 0.6768 MB / 0.6803 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2008, allocations: 0 / 0.6803 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.2008, allocations: 11.56 kB / 0.6804 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2008, allocations: 3.938 kB / 0.6804 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.2189, allocations: 1.2 MB / 0.6815 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.717, allocations: 5.125 kB / 0.6815 GB, free: 3.922 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)