Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001959/0.001959, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.00232/0.00232, allocations: 212 kB / 19.43 MB, free: 3.637 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004057/0.004057, allocations: 291.3 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.285/1.285, allocations: 180.9 MB / 0.5333 GB, free: 13.66 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002875/0.002875, allocations: 110.7 kB / 0.7343 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1939, allocations: 95.33 MB / 0.8274 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001831/0.1958, allocations: 0.5938 MB / 0.828 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.1965, allocations: 335.1 kB / 0.8283 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.1966, allocations: 0 / 0.8283 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.1966, allocations: 0 / 0.8283 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.1966, allocations: 0 / 0.8283 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.197, allocations: 103.7 kB / 0.8284 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.1971, allocations: 12 kB / 0.8284 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1971, allocations: 0 / 0.8284 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1971, allocations: 0 / 0.8284 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.1972, allocations: 0 / 0.8284 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1972, allocations: 0 / 0.8284 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1976, allocations: 279.6 kB / 0.8287 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1976, allocations: 3.984 kB / 0.8287 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.1976, allocations: 4 kB / 0.8287 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1978, allocations: 84.02 kB / 0.8288 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1978, allocations: 4 kB / 0.8288 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1978, allocations: 0 / 0.8288 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1978, allocations: 4 kB / 0.8288 GB, free: 8.43 MB / 0.5762 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.0003989/0.1982, allocations: 335.3 kB / 0.8291 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1983, allocations: 8.031 kB / 0.8291 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1983, allocations: 30.75 kB / 0.8291 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.1983, allocations: 4.938 kB / 0.8291 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1985, allocations: 164.3 kB / 0.8293 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1985, allocations: 384 / 0.8293 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1985, allocations: 384 / 0.8293 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1986, allocations: 34.25 kB / 0.8293 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1986, allocations: 7.938 kB / 0.8293 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1986, allocations: 4 kB / 0.8293 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1986, allocations: 0 / 0.8293 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.1986, allocations: 0 / 0.8293 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1988, allocations: 141.7 kB / 0.8295 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.1988, allocations: 22.55 kB / 0.8295 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.1989, allocations: 4.859 kB / 0.8295 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.1994, allocations: 433.5 kB / 0.8299 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1994, allocations: 30.56 kB / 0.8299 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1994, allocations: 0 / 0.8299 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.1996, allocations: 41.64 kB / 0.83 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1996, allocations: 51.41 kB / 0.83 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.418e-05/0.1997, allocations: 93.98 kB / 0.8301 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1997, allocations: 25.7 kB / 0.8301 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1998, allocations: 84.08 kB / 0.8302 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1998, allocations: 3.938 kB / 0.8302 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1998, allocations: 13.72 kB / 0.8302 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2, allocations: 318.8 kB / 0.8305 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.2, allocations: 0 / 0.8305 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.2, allocations: 0 / 0.8305 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.2, allocations: 12.92 kB / 0.8306 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2, allocations: 0 / 0.8306 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.618e-05/0.2001, allocations: 33.69 kB / 0.8306 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2001, allocations: 11.94 kB / 0.8306 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2001, allocations: 3.938 kB / 0.8306 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2001, allocations: 0 / 0.8306 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.2001, allocations: 7.922 kB / 0.8306 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2002, allocations: 4 kB / 0.8306 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-06/0.2002, allocations: 0 / 0.8306 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2002, allocations: 8.031 kB / 0.8306 GB, free: 6.207 MB / 0.5762 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.561e-05/0.2002, allocations: 109.8 kB / 0.8307 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.2003, allocations: 0 / 0.8307 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.613e-05/0.2003, allocations: 40.77 kB / 0.8308 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2004, allocations: 3.984 kB / 0.8308 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2004, allocations: 0 / 0.8308 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2004, allocations: 0 / 0.8308 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2005, allocations: 141.7 kB / 0.8309 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2005, allocations: 4.031 kB / 0.8309 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.2005, allocations: 4 kB / 0.8309 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2005, allocations: 0 / 0.8309 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2005, allocations: 3.938 kB / 0.8309 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2005, allocations: 0 / 0.8309 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2005, allocations: 3.938 kB / 0.8309 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.2006, allocations: 61.12 kB / 0.831 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.2006, allocations: 85.09 kB / 0.8311 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.2006, allocations: 3.938 kB / 0.8311 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.2007, allocations: 0 / 0.8311 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.2007, allocations: 4 kB / 0.8311 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.2007, allocations: 0 / 0.8311 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.2007, allocations: 79.27 kB / 0.8311 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2007, allocations: 0 / 0.8311 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001952/0.2009, allocations: 11.94 kB / 0.8312 GB, free: 5.562 MB / 0.5762 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.0004999/0.2014, allocations: 0.6202 MB / 0.8318 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.538e-05/0.2015, allocations: 4 kB / 0.8318 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2015, allocations: 0 / 0.8318 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.2015, allocations: 3.938 kB / 0.8318 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.2016, allocations: 1.5 kB / 0.8318 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.2019, allocations: 128.4 kB / 0.8319 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.2023, allocations: 0.669 MB / 0.8325 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.2023, allocations: 0 / 0.8325 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.2023, allocations: 11.38 kB / 0.8326 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2023, allocations: 0 / 0.8326 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2276, allocations: 1.223 MB / 0.8337 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.037, allocations: 3.859 kB / 0.8338 GB, free: 2.949 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.336116198915988] Failed to read output from testmodel.py, exit status != 0: 8.10380302136764 8.119464355 7.918539773 Calling exit ...