Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001301/0.001301, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001482/0.001482, allocations: 212.4 kB / 22.25 MB, free: 4.859 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.785 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.002638/0.002638, allocations: 281.5 kB / 312.7 MB, free: 2.699 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.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002922/0.002922, allocations: 106.6 kB / 0.7395 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1927, allocations: 95.37 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002159/0.1948, allocations: 0.6172 MB / 0.8333 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.1956, allocations: 303.3 kB / 0.8336 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.1956, allocations: 4 kB / 0.8336 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1956, allocations: 0 / 0.8336 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.807e-05/0.1956, allocations: 0 / 0.8336 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1961, allocations: 123.6 kB / 0.8337 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.39e-05/0.1962, allocations: 7.938 kB / 0.8337 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.1962, allocations: 3.984 kB / 0.8337 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.1962, allocations: 8 kB / 0.8337 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.1963, allocations: 0 / 0.8337 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1963, allocations: 4 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.1967, allocations: 251.6 kB / 0.8339 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.1967, allocations: 8 kB / 0.834 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.1967, allocations: 11.92 kB / 0.834 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1969, allocations: 92.02 kB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1969, allocations: 0 / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1969, allocations: 0 / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1969, allocations: 0 / 0.8341 GB, free: 6.871 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004932/0.1974, allocations: 267.2 kB / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.1975, allocations: 13.33 kB / 0.8343 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.1975, allocations: 30.75 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.1976, allocations: 4.938 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1978, allocations: 110.4 kB / 0.8345 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1978, allocations: 4.375 kB / 0.8345 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.1978, allocations: 12.31 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.198, allocations: 59.95 kB / 0.8345 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.198, allocations: 3.938 kB / 0.8345 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.198, allocations: 0 / 0.8345 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.198, allocations: 0 / 0.8345 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.1981, allocations: 4 kB / 0.8345 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.1983, allocations: 120.8 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.848e-05/0.1983, allocations: 26.53 kB / 0.8347 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1984, allocations: 12.92 kB / 0.8347 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.199, allocations: 75.86 kB / 0.8348 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.199, allocations: 34.56 kB / 0.8348 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.199, allocations: 0 / 0.8348 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0009738/0.2, allocations: 185.2 kB / 0.835 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2001, allocations: 51.41 kB / 0.835 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2002, allocations: 101.8 kB / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2002, allocations: 25.7 kB / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2003, allocations: 80.14 kB / 0.8352 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2003, allocations: 15.89 kB / 0.8352 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.2004, allocations: 17.72 kB / 0.8353 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003449/0.2007, allocations: 318.8 kB / 0.8356 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.2007, allocations: 4 kB / 0.8356 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.2008, allocations: 22.06 kB / 0.8356 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.2008, allocations: 33.64 kB / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2008, allocations: 0 / 0.8356 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.2009, allocations: 53.64 kB / 0.8357 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2009, allocations: 8.562 kB / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2009, allocations: 0 / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.201, allocations: 4 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.201, allocations: 7.984 kB / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.201, allocations: 64 / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.201, allocations: 8 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2011, allocations: 4 kB / 0.8357 GB, free: 4.949 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.00019/0.2012, allocations: 106.5 kB / 0.8358 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.2013, allocations: 7.938 kB / 0.8358 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2014, allocations: 65.23 kB / 0.8359 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2014, allocations: 192 / 0.8359 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2014, allocations: 0 / 0.8359 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2014, allocations: 3.984 kB / 0.8359 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.2016, allocations: 120.8 kB / 0.836 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2016, allocations: 0 / 0.836 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2017, allocations: 11.98 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2017, allocations: 3.938 kB / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2017, allocations: 0 / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2017, allocations: 0 / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2017, allocations: 0 / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.2018, allocations: 81.08 kB / 0.8361 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-06/0.2018, allocations: 11.81 kB / 0.8361 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2018, allocations: 4 kB / 0.8361 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.2019, allocations: 4.031 kB / 0.8361 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.2019, allocations: 8.047 kB / 0.8361 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2019, allocations: 0 / 0.8361 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.202, allocations: 79.28 kB / 0.8362 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.202, allocations: 0 / 0.8362 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002224/0.2022, allocations: 23.94 kB / 0.8362 GB, free: 4.344 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005692/0.2028, allocations: 0.6358 MB / 0.8368 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.448e-05/0.2028, allocations: 15.94 kB / 0.8368 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2028, allocations: 0 / 0.8368 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.2029, allocations: 16.27 kB / 0.8369 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.203, allocations: 4 kB / 0.8369 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2041, allocations: 1.133 MB / 0.838 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.2042, allocations: 55.36 kB / 0.838 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.2042, allocations: 7.984 kB / 0.838 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.2042, allocations: 7.438 kB / 0.838 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2042, allocations: 3.938 kB / 0.838 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.2345, allocations: 2.264 MB / 0.8403 GB, free: 244 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.18, allocations: 6.312 kB / 0.8403 GB, free: 244 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.304486735723913] Failed to read output from testmodel.py, exit status != 0: 11.28676285687834 11.3165516 11.114457285 Calling exit ...