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.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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 1.084/1.084, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 63.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2054, allocations: 82.05 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00228/0.2077, allocations: 0.5764 MB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000664/0.2084, allocations: 326.8 kB / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.2085, allocations: 0 / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.2085, allocations: 0 / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.2085, allocations: 0 / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.209, allocations: 111.6 kB / 0.5954 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.209, allocations: 3.938 kB / 0.5954 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.2091, allocations: 4 kB / 0.5954 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.2091, allocations: 4 kB / 0.5954 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.721e-05/0.2091, allocations: 3.984 kB / 0.5954 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.2091, allocations: 0 / 0.5954 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.2095, allocations: 275.6 kB / 0.5957 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.2095, allocations: 0 / 0.5957 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.2096, allocations: 0 / 0.5957 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2097, allocations: 87.86 kB / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2098, allocations: 0 / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2098, allocations: 0 / 0.5957 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2098, allocations: 0 / 0.5957 GB, free: 8.102 MB / 0.4981 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.0003184/0.2101, allocations: 335.6 kB / 0.5961 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2101, allocations: 8.031 kB / 0.5961 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.2102, allocations: 30.75 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/0.2103, allocations: 0.9375 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.2104, allocations: 164.3 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2104, allocations: 4.375 kB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.2104, allocations: 4.375 kB / 0.5963 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2105, allocations: 30.2 kB / 0.5963 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2106, allocations: 3.938 kB / 0.5963 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2106, allocations: 7.984 kB / 0.5963 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2106, allocations: 0 / 0.5963 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.2106, allocations: 4 kB / 0.5963 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2108, allocations: 145.6 kB / 0.5965 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.705e-05/0.2109, allocations: 22.61 kB / 0.5965 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.2109, allocations: 4.859 kB / 0.5965 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.2114, allocations: 425.6 kB / 0.5969 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2115, allocations: 38.5 kB / 0.5969 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.2115, allocations: 0 / 0.5969 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.2116, allocations: 37.62 kB / 0.597 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2117, allocations: 51.41 kB / 0.597 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.624e-05/0.2117, allocations: 93.86 kB / 0.5971 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2117, allocations: 29.83 kB / 0.5971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.2118, allocations: 80.14 kB / 0.5972 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.2118, allocations: 3.906 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.2118, allocations: 13.72 kB / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.2119, allocations: 314.8 kB / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.2119, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.212, allocations: 0 / 0.5975 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.212, allocations: 20.84 kB / 0.5975 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.212, allocations: 0 / 0.5975 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.863e-05/0.2121, allocations: 29.7 kB / 0.5976 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2121, allocations: 10.66 kB / 0.5976 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2121, allocations: 3.938 kB / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2121, allocations: 0 / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.2122, allocations: 0 / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2122, allocations: 0 / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.2122, allocations: 288 / 0.5976 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2122, allocations: 4 kB / 0.5976 GB, free: 5.895 MB / 0.4981 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 8.436e-05/0.2123, allocations: 121.8 kB / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.2124, allocations: 0 / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2125, allocations: 44.64 kB / 0.5977 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2125, allocations: 7.984 kB / 0.5978 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2125, allocations: 0 / 0.5978 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2125, allocations: 0 / 0.5978 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2126, allocations: 153.7 kB / 0.5979 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2126, allocations: 0 / 0.5979 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.2127, allocations: 8.031 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2127, allocations: 4 kB / 0.5979 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2127, allocations: 3.938 kB / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2127, allocations: 0 / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2127, allocations: 0 / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.2128, allocations: 61.06 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.2129, allocations: 77.11 kB / 0.598 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2129, allocations: 3.938 kB / 0.598 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.2129, allocations: 7.969 kB / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.2129, allocations: 0 / 0.5981 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2129, allocations: 4 kB / 0.5981 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.213, allocations: 79.28 kB / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.213, allocations: 0 / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002447/0.2132, allocations: 12 kB / 0.5981 GB, free: 5.219 MB / 0.4981 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.000473/0.2137, allocations: 0.6085 MB / 0.5987 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.2138, allocations: 7.938 kB / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2138, allocations: 0 / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.2138, allocations: 4 kB / 0.5988 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.214, allocations: 3.938 kB / 0.5988 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.2143, allocations: 114.6 kB / 0.5989 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.2147, allocations: 0.673 MB / 0.5995 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.2147, allocations: 4 kB / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.2147, allocations: 7.438 kB / 0.5995 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2147, allocations: 0 / 0.5995 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2318, allocations: 1.174 MB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.453, allocations: 8.359 kB / 0.6007 GB, free: 2.637 MB / 0.4981 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)