Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001335/0.001335, 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.001497/0.001497, allocations: 219 kB / 22.25 MB, free: 4.855 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.805 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.002426/0.002426, allocations: 288.7 kB / 312.7 MB, free: 2.637 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.164/1.164, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.002858/0.002858, allocations: 100.8 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1746, allocations: 95.38 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001672/0.1762, allocations: 0.6295 MB / 0.8333 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.1769, allocations: 311.3 kB / 0.8336 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.1769, allocations: 0 / 0.8336 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.177, allocations: 4 kB / 0.8336 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.709e-05/0.177, allocations: 7.938 kB / 0.8336 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1775, allocations: 125.5 kB / 0.8337 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.1775, allocations: 27.91 kB / 0.8338 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.1776, allocations: 0 / 0.8338 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1776, allocations: 8 kB / 0.8338 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.1777, allocations: 11.92 kB / 0.8338 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1777, allocations: 4 kB / 0.8338 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.1781, allocations: 255.7 kB / 0.834 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1781, allocations: 19.91 kB / 0.834 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1781, allocations: 7.938 kB / 0.834 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1783, allocations: 104 kB / 0.8341 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1783, allocations: 0 / 0.8341 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1783, allocations: 7.938 kB / 0.8342 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.1783, allocations: 0 / 0.8342 GB, free: 6.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004373/0.1788, allocations: 282 kB / 0.8344 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1788, allocations: 13.94 kB / 0.8344 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1789, allocations: 34.75 kB / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1789, allocations: 8.891 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.179, allocations: 110.5 kB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.179, allocations: 4.375 kB / 0.8346 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1791, allocations: 8.375 kB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1792, allocations: 97.59 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1792, allocations: 7.938 kB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1792, allocations: 4 kB / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1793, allocations: 0 / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.1793, allocations: 15.98 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1795, allocations: 136.7 kB / 0.8348 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1796, allocations: 58.5 kB / 0.8349 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.1797, allocations: 32.84 kB / 0.8349 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.1802, allocations: 79.92 kB / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1802, allocations: 30.56 kB / 0.835 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.1802, allocations: 3.984 kB / 0.835 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001232/0.1814, allocations: 459.5 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1815, allocations: 59.41 kB / 0.8355 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.1816, allocations: 97.84 kB / 0.8356 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1816, allocations: 29.7 kB / 0.8357 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1816, allocations: 80.14 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.1817, allocations: 43.62 kB / 0.8358 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1817, allocations: 29.72 kB / 0.8358 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1819, allocations: 318.8 kB / 0.8361 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.1819, allocations: 23.98 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.182, allocations: 16 kB / 0.8361 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1821, allocations: 62.91 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1821, allocations: 0 / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001556/0.1822, allocations: 105.6 kB / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1822, allocations: 10.44 kB / 0.8363 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1822, allocations: 0 / 0.8363 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1822, allocations: 4 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1823, allocations: 19.98 kB / 0.8363 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1823, allocations: 4 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1824, allocations: 0 / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1824, allocations: 11.94 kB / 0.8364 GB, free: 4.312 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 (13): * Single equations (assignments): 13 * 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.862e-05/0.1825, allocations: 114.5 kB / 0.8365 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1825, allocations: 7.938 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.1827, allocations: 105.8 kB / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1827, allocations: 4 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1827, allocations: 0 / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1827, allocations: 0 / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.1831, allocations: 321.5 kB / 0.8369 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1831, allocations: 8 kB / 0.8369 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1832, allocations: 19.98 kB / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1832, allocations: 0 / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1832, allocations: 0 / 0.8369 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1832, allocations: 4.312 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/0.1832, allocations: 3.938 kB / 0.8369 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1835, allocations: 219.4 kB / 0.8371 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.1835, allocations: 15.97 kB / 0.8371 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1835, allocations: 0 / 0.8371 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.1836, allocations: 7.984 kB / 0.8371 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1836, allocations: 11.98 kB / 0.8372 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1836, allocations: 8.062 kB / 0.8372 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.1837, allocations: 79.28 kB / 0.8372 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1837, allocations: 0 / 0.8372 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002579/0.1839, allocations: 43.88 kB / 0.8373 GB, free: 3.273 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007015/0.1846, allocations: 0.7906 MB / 0.8381 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1848, allocations: 59.91 kB / 0.8381 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1848, allocations: 0 / 0.8381 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.1848, allocations: 24 kB / 0.8381 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.1851, allocations: 11.98 kB / 0.8381 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1866, allocations: 1.399 MB / 0.8395 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.1866, allocations: 75.33 kB / 0.8396 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.1867, allocations: 15.91 kB / 0.8396 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.1867, allocations: 15.44 kB / 0.8396 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.1867, allocations: 0 / 0.8396 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.2198, allocations: 2.999 MB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.21, allocations: 5.953 kB / 0.8426 GB, free: 13.93 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_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_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.343133334070444] Failed to read output from testmodel.py, exit status != 0: 11.30996778421104 11.327130368 11.145516458 Calling exit ...