Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001804/0.001804, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002316/0.002316, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002561/0.002561, allocations: 293.1 kB / 312.7 MB, free: 2.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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: 92.95 kB / 0.7396 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1902, allocations: 95.38 MB / 0.8327 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002757/0.193, allocations: 1.483 MB / 0.8342 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.1938, allocations: 393.2 kB / 0.8346 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.1938, allocations: 0 / 0.8346 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.1938, allocations: 3.984 kB / 0.8346 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.1939, allocations: 11.94 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1944, allocations: 113.4 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.1944, allocations: 19.92 kB / 0.8347 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1946, allocations: 8.281 kB / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.1946, allocations: 15.92 kB / 0.8347 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.1947, allocations: 11.92 kB / 0.8347 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1947, allocations: 0 / 0.8347 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.1951, allocations: 287.6 kB / 0.835 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1951, allocations: 7.984 kB / 0.835 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.1952, allocations: 7.938 kB / 0.835 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1954, allocations: 115.6 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1954, allocations: 4 kB / 0.8351 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1954, allocations: 0 / 0.8351 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1954, allocations: 0 / 0.8351 GB, free: 6.125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004412/0.1958, allocations: 286 kB / 0.8354 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1959, allocations: 9.344 kB / 0.8354 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.1959, allocations: 34.75 kB / 0.8354 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.196, allocations: 8.938 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1961, allocations: 110.5 kB / 0.8356 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1961, allocations: 4.375 kB / 0.8356 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1961, allocations: 384 / 0.8356 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1963, allocations: 50.23 kB / 0.8356 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1963, allocations: 3.938 kB / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1963, allocations: 0 / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1963, allocations: 0 / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1965, allocations: 39.91 kB / 0.8357 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1968, allocations: 220 kB / 0.8359 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1969, allocations: 46.48 kB / 0.8359 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.197, allocations: 20.91 kB / 0.8359 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.1976, allocations: 79.84 kB / 0.836 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1976, allocations: 34.56 kB / 0.836 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1976, allocations: 0 / 0.836 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/0.198, allocations: 89.58 kB / 0.8361 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1981, allocations: 51.41 kB / 0.8362 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.1981, allocations: 105.8 kB / 0.8363 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1982, allocations: 25.7 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1982, allocations: 84.14 kB / 0.8364 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1982, allocations: 11.89 kB / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1983, allocations: 17.84 kB / 0.8364 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1984, allocations: 314.8 kB / 0.8367 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.1985, allocations: 15.98 kB / 0.8367 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1986, allocations: 15.98 kB / 0.8367 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1987, allocations: 44.83 kB / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1987, allocations: 3.938 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.1989, allocations: 73.61 kB / 0.8369 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1989, allocations: 5.406 kB / 0.8369 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1989, allocations: 4 kB / 0.8369 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.199, allocations: 0 / 0.8369 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.1991, allocations: 7.984 kB / 0.8369 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1991, allocations: 3.938 kB / 0.8369 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1991, allocations: 12.27 kB / 0.8369 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1991, allocations: 0 / 0.8369 GB, free: 4.133 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 (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 8.22e-05/0.1992, allocations: 114.4 kB / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1992, allocations: 0 / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.1995, allocations: 81.22 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1995, allocations: 0 / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1995, allocations: 4.031 kB / 0.8371 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1995, allocations: 4 kB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1997, allocations: 132.7 kB / 0.8372 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1997, allocations: 0 / 0.8372 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.1997, allocations: 11.98 kB / 0.8372 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1997, allocations: 0 / 0.8372 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1997, allocations: 4 kB / 0.8372 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1997, allocations: 3.938 kB / 0.8372 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1997, allocations: 0 / 0.8372 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.2, allocations: 171.3 kB / 0.8374 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.2, allocations: 4 kB / 0.8374 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2, allocations: 0 / 0.8374 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.709e-05/0.2001, allocations: 11.98 kB / 0.8374 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2001, allocations: 0 / 0.8374 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2001, allocations: 0 / 0.8374 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.2002, allocations: 87.27 kB / 0.8375 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2002, allocations: 4.031 kB / 0.8375 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002359/0.2004, allocations: 16 kB / 0.8375 GB, free: 3.418 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 (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.0006411/0.2011, allocations: 0.7007 MB / 0.8382 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.2013, allocations: 43.92 kB / 0.8382 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2013, allocations: 0 / 0.8382 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.2014, allocations: 19.98 kB / 0.8383 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.2017, allocations: 0.5156 kB / 0.8383 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.2021, allocations: 151.2 kB / 0.8384 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.2024, allocations: 0.6769 MB / 0.8391 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.2024, allocations: 7.984 kB / 0.8391 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.2025, allocations: 11.44 kB / 0.8391 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2025, allocations: 0 / 0.8391 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.229, allocations: 1.732 MB / 0.8408 GB, free: 128 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.64, allocations: 6.5 kB / 0.8408 GB, free: 124 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.07562254000004] Failed to read output from testmodel.py, exit status != 0: 10.747463551000692 10.766837024 10.567872738 Calling exit ...