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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 214.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9151/0.9151, allocations: 145 MB / 458.2 MB, free: 15.28 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.92 kB / 0.6339 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1925, allocations: 87.88 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00191/0.1945, allocations: 0.5911 MB / 0.7203 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.1951, allocations: 290.9 kB / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.1952, allocations: 0 / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1952, allocations: 0 / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1952, allocations: 0 / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1957, allocations: 111.7 kB / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.966e-05/0.1957, allocations: 0 / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1958, allocations: 4 kB / 0.7207 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.1958, allocations: 0 / 0.7207 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.1958, allocations: 7.922 kB / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1958, allocations: 0 / 0.7207 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1963, allocations: 279.6 kB / 0.721 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1963, allocations: 3.938 kB / 0.721 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.1963, allocations: 0 / 0.721 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1965, allocations: 83.8 kB / 0.721 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1965, allocations: 4 kB / 0.721 GB, free: 13.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1965, allocations: 0 / 0.721 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1965, allocations: 4 kB / 0.7211 GB, free: 13.44 MB / 0.545 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.0003401/0.1968, allocations: 264.2 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1969, allocations: 8.031 kB / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.691e-05/0.1969, allocations: 4.188 kB / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.1969, allocations: 30.75 kB / 0.7213 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.197, allocations: 0.9375 kB / 0.7213 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.1971, allocations: 102.5 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.1971, allocations: 384 / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1971, allocations: 4.375 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.1972, allocations: 34.02 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1972, allocations: 0 / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1972, allocations: 0 / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1972, allocations: 3.984 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.1972, allocations: 15.92 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1974, allocations: 112.8 kB / 0.7216 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.18e-05/0.1974, allocations: 22.55 kB / 0.7216 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.1975, allocations: 4.859 kB / 0.7216 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.1978, allocations: 52.02 kB / 0.7217 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1979, allocations: 38.5 kB / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1979, allocations: 0 / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.198, allocations: 37.58 kB / 0.7218 GB, free: 12.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1981, allocations: 55.41 kB / 0.7218 GB, free: 12.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.1981, allocations: 89.86 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1981, allocations: 25.7 kB / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.1982, allocations: 88.25 kB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1982, allocations: 0 / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1982, allocations: 17.72 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1984, allocations: 314.8 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.1984, allocations: 0 / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.1984, allocations: 0 / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.1984, allocations: 8.859 kB / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1984, allocations: 0 / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.618e-05/0.1985, allocations: 37.64 kB / 0.7224 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1985, allocations: 7.938 kB / 0.7224 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1985, allocations: 4.094 kB / 0.7224 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1985, allocations: 0 / 0.7224 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.1986, allocations: 4 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1986, allocations: 3.984 kB / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.1986, allocations: 0 / 0.7224 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1986, allocations: 0 / 0.7224 GB, free: 11.88 MB / 0.545 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 9.47e-05/0.1987, allocations: 110.9 kB / 0.7225 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1987, allocations: 7.938 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.1988, allocations: 40.64 kB / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1988, allocations: 4.031 kB / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1988, allocations: 3.984 kB / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1988, allocations: 0 / 0.7225 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1989, allocations: 120.8 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1989, allocations: 0 / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.199, allocations: 0 / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.199, allocations: 7.875 kB / 0.7227 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.199, allocations: 0 / 0.7227 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.199, allocations: 4 kB / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.199, allocations: 0 / 0.7227 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.384e-05/0.1991, allocations: 57.12 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.1991, allocations: 4 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1991, allocations: 3.938 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-06/0.1991, allocations: 4 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1991, allocations: 3.938 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1991, allocations: 0 / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.1991, allocations: 79.28 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1991, allocations: 0 / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001981/0.1993, allocations: 15.92 kB / 0.7228 GB, free: 11.34 MB / 0.545 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.0004899/0.1998, allocations: 0.6124 MB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.1999, allocations: 4 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1999, allocations: 0 / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.1999, allocations: 3.938 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2001, allocations: 4 kB / 0.7234 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.2004, allocations: 114.5 kB / 0.7235 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.2005, allocations: 55.36 kB / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.2005, allocations: 0 / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.2005, allocations: 11.56 kB / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2005, allocations: 0 / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.2238, allocations: 1.35 MB / 0.7249 GB, free: 9.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.47, allocations: 9 kB / 0.7249 GB, free: 9.238 MB / 0.545 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.142739953007549] Failed to read output from testmodel.py, exit status != 0: 11.621586397988722 11.637371524 11.437765896 Calling exit ...