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.001348/0.001348, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001394/0.001394, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002416/0.002416, allocations: 293.5 kB / 313.5 MB, free: 2.816 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.282/1.282, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",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.002877/0.002877, allocations: 103.1 kB / 0.7404 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2022, allocations: 95.38 MB / 0.8335 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002106/0.2044, allocations: 0.5983 MB / 0.8341 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.2051, allocations: 355.1 kB / 0.8345 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.2051, allocations: 3.938 kB / 0.8345 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.2052, allocations: 0 / 0.8345 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.514e-05/0.2052, allocations: 0 / 0.8345 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2057, allocations: 123.6 kB / 0.8346 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.2058, allocations: 11.98 kB / 0.8346 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.2059, allocations: 0 / 0.8346 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.2059, allocations: 4 kB / 0.8346 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.2059, allocations: 3.984 kB / 0.8346 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2059, allocations: 0 / 0.8346 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.2064, allocations: 275.6 kB / 0.8349 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2065, allocations: 11.94 kB / 0.8349 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2065, allocations: 0 / 0.8349 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2067, allocations: 99.94 kB / 0.835 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2067, allocations: 0 / 0.835 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2067, allocations: 0 / 0.835 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2067, allocations: 7.938 kB / 0.835 GB, free: 7.27 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.0004431/0.2072, allocations: 266.2 kB / 0.8352 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2072, allocations: 9.344 kB / 0.8352 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.149e-05/0.2072, allocations: 192 / 0.8352 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2073, allocations: 34.69 kB / 0.8353 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.2074, allocations: 4.938 kB / 0.8353 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2075, allocations: 114.5 kB / 0.8354 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2075, allocations: 384 / 0.8354 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.2075, allocations: 4.375 kB / 0.8354 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2077, allocations: 38 kB / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2077, allocations: 0 / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2077, allocations: 0 / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2077, allocations: 0 / 0.8354 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.2077, allocations: 4 kB / 0.8354 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.208, allocations: 128.8 kB / 0.8356 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.208, allocations: 26.52 kB / 0.8356 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.2081, allocations: 4.859 kB / 0.8356 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.2086, allocations: 75.97 kB / 0.8357 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.2087, allocations: 42.5 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.2087, allocations: 0 / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006502/0.2093, allocations: 169.2 kB / 0.8359 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2094, allocations: 51.41 kB / 0.8359 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.2095, allocations: 102.1 kB / 0.836 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2095, allocations: 25.7 kB / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2095, allocations: 80.14 kB / 0.8361 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.2096, allocations: 15.89 kB / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.2096, allocations: 21.72 kB / 0.8361 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2097, allocations: 310.8 kB / 0.8364 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.2098, allocations: 11.94 kB / 0.8365 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.2098, allocations: 25.77 kB / 0.8365 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.2099, allocations: 21.72 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2099, allocations: 0 / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.21, allocations: 61.56 kB / 0.8366 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.21, allocations: 8 kB / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.21, allocations: 0 / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.21, allocations: 0 / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.2101, allocations: 16.06 kB / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2101, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.2101, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2101, allocations: 4 kB / 0.8366 GB, free: 5.395 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 8.375e-05/0.2102, allocations: 106.5 kB / 0.8367 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2102, allocations: 3.938 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.2104, allocations: 65.23 kB / 0.8368 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2104, allocations: 8 kB / 0.8368 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2104, allocations: 0 / 0.8368 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2104, allocations: 192 / 0.8368 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.2105, allocations: 124.8 kB / 0.8369 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2105, allocations: 0 / 0.8369 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.2106, allocations: 7.938 kB / 0.8369 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2106, allocations: 3.984 kB / 0.8369 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2106, allocations: 4 kB / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2106, allocations: 0 / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2106, allocations: 0 / 0.8369 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.2108, allocations: 89 kB / 0.837 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.2108, allocations: 3.938 kB / 0.837 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2108, allocations: 4.031 kB / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.2108, allocations: 0 / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.2108, allocations: 0 / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2108, allocations: 7.984 kB / 0.837 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2109, allocations: 75.28 kB / 0.8371 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2109, allocations: 160 / 0.8371 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000219/0.2111, allocations: 31.94 kB / 0.8371 GB, free: 4.785 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.0006226/0.2117, allocations: 0.6358 MB / 0.8377 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2118, allocations: 19.92 kB / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2118, allocations: 0 / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.2119, allocations: 12.19 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.212, allocations: 7 kB / 0.8378 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2133, allocations: 1.133 MB / 0.8389 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.2137, allocations: 0.6768 MB / 0.8395 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.2137, allocations: 3.938 kB / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2137, allocations: 15.44 kB / 0.8395 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2137, allocations: 0 / 0.8395 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.2373, allocations: 1.888 MB / 0.8414 GB, free: 448 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.99, allocations: 28.86 kB / 0.8414 GB, free: 428 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.409702992998064] Failed to read output from testmodel.py, exit status != 0: 11.16750860598404 11.185138922 10.97524883 Calling exit ...