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.001482/0.001482, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001608/0.001608, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.00249/0.00249, allocations: 295.5 kB / 309.1 MB, free: 3.945 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.247/1.247, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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.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.003703/0.003703, allocations: 111.8 kB / 0.7343 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.2009, allocations: 95.34 MB / 0.8274 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001729/0.2026, allocations: 0.5944 MB / 0.828 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.2033, allocations: 359.1 kB / 0.8283 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.2034, allocations: 0 / 0.8283 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.2034, allocations: 0 / 0.8283 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.742e-05/0.2034, allocations: 0 / 0.8283 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.2039, allocations: 111.7 kB / 0.8284 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.2039, allocations: 15.92 kB / 0.8284 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.2039, allocations: 4 kB / 0.8285 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.204, allocations: 11.98 kB / 0.8285 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.204, allocations: 3.938 kB / 0.8285 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.204, allocations: 0 / 0.8285 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.2044, allocations: 275.6 kB / 0.8287 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.2044, allocations: 0 / 0.8287 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.2044, allocations: 4 kB / 0.8287 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2046, allocations: 99.92 kB / 0.8288 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2046, allocations: 0 / 0.8288 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2046, allocations: 0 / 0.8288 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2046, allocations: 0 / 0.8288 GB, free: 8.324 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.0003843/0.205, allocations: 343.3 kB / 0.8292 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.205, allocations: 12.03 kB / 0.8292 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.2051, allocations: 30.75 kB / 0.8292 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.2051, allocations: 0.9375 kB / 0.8292 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2053, allocations: 168.3 kB / 0.8294 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2053, allocations: 8.375 kB / 0.8294 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2053, allocations: 384 / 0.8294 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.2054, allocations: 38.14 kB / 0.8294 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2054, allocations: 7.938 kB / 0.8294 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2054, allocations: 0 / 0.8294 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2054, allocations: 0 / 0.8294 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.2054, allocations: 4 kB / 0.8294 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.2056, allocations: 157.7 kB / 0.8296 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.2056, allocations: 22.58 kB / 0.8296 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.2057, allocations: 8.844 kB / 0.8296 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/0.2064, allocations: 457.5 kB / 0.83 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2064, allocations: 38.5 kB / 0.8301 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2064, allocations: 0 / 0.8301 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00052/0.2069, allocations: 258.3 kB / 0.8303 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.207, allocations: 55.39 kB / 0.8304 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.2071, allocations: 89.86 kB / 0.8305 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2071, allocations: 33.64 kB / 0.8305 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.2071, allocations: 84.14 kB / 0.8306 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2071, allocations: 8.25 kB / 0.8306 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.2072, allocations: 21.72 kB / 0.8306 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2073, allocations: 314.8 kB / 0.8309 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.2073, allocations: 4 kB / 0.8309 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.2074, allocations: 17.72 kB / 0.8309 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.2074, allocations: 33.64 kB / 0.8309 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2074, allocations: 4 kB / 0.831 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.981e-05/0.2075, allocations: 45.7 kB / 0.831 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2075, allocations: 7.938 kB / 0.831 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2075, allocations: 0 / 0.831 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2075, allocations: 4 kB / 0.831 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.2076, allocations: 11.92 kB / 0.831 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2076, allocations: 0 / 0.831 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.2076, allocations: 4 kB / 0.831 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2076, allocations: 0 / 0.831 GB, free: 5.695 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 7.731e-05/0.2077, allocations: 114.6 kB / 0.8311 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2077, allocations: 7.938 kB / 0.8311 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.2079, allocations: 53.17 kB / 0.8312 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2079, allocations: 0 / 0.8312 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2079, allocations: 0 / 0.8312 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2079, allocations: 192 / 0.8312 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.208, allocations: 157.6 kB / 0.8313 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.208, allocations: 0 / 0.8313 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.208, allocations: 11.94 kB / 0.8314 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.208, allocations: 11.92 kB / 0.8314 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2081, allocations: 0 / 0.8314 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2081, allocations: 3.984 kB / 0.8314 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2081, allocations: 0 / 0.8314 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.2082, allocations: 81.06 kB / 0.8314 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2082, allocations: 81.08 kB / 0.8315 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2083, allocations: 4 kB / 0.8315 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.2083, allocations: 4.062 kB / 0.8315 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.2083, allocations: 0 / 0.8315 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2083, allocations: 8 kB / 0.8315 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.2084, allocations: 79.22 kB / 0.8316 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 0.8316 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002105/0.2086, allocations: 27.92 kB / 0.8316 GB, free: 4.961 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.0005235/0.2091, allocations: 0.6437 MB / 0.8323 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.2092, allocations: 23.92 kB / 0.8323 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2092, allocations: 0 / 0.8323 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.2092, allocations: 8 kB / 0.8323 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.2093, allocations: 0 / 0.8323 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2103, allocations: 1.139 MB / 0.8334 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2106, allocations: 0.6807 MB / 0.8341 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.2106, allocations: 4 kB / 0.8341 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.2107, allocations: 15.44 kB / 0.8341 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.2107, allocations: 0 / 0.8341 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.2359, allocations: 1.771 MB / 0.8358 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.17, allocations: 15.66 kB / 0.8358 GB, free: 0.707 MB / 0.5762 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 12.402346935123205] Failed to read output from testmodel.py, exit status != 0: 8.241576574742794 8.264190701 8.055515941 Calling exit ...