Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001269/0.001269, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001503/0.001503, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.416/1.416, 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.002448/0.002448, allocations: 283.8 kB / 312.7 MB, free: 2.695 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.231/1.231, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.002929/0.002929, allocations: 107.7 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2058, allocations: 95.38 MB / 0.8327 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001793/0.2076, allocations: 0.6065 MB / 0.8333 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.2096, allocations: 1.433 MB / 0.8347 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.2096, allocations: 0 / 0.8347 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.2096, allocations: 3.938 kB / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.2096, allocations: 0 / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.2101, allocations: 144.2 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.2102, allocations: 31.97 kB / 0.8349 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.2103, allocations: 0 / 0.8349 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.2103, allocations: 15.98 kB / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/0.2104, allocations: 23.91 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2104, allocations: 8 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.2108, allocations: 247.5 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.2108, allocations: 3.984 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.2109, allocations: 19.91 kB / 0.8352 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.2112, allocations: 179.8 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2112, allocations: 0 / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2112, allocations: 3.938 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2112, allocations: 0 / 0.8353 GB, free: 5.578 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005298/0.2117, allocations: 286 kB / 0.8356 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2117, allocations: 21.86 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.2118, allocations: 34.75 kB / 0.8357 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.2122, allocations: 68.86 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.635e-05/0.2123, allocations: 106.5 kB / 0.8358 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2123, allocations: 8.375 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.2124, allocations: 4.328 kB / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2126, allocations: 103.5 kB / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2126, allocations: 0 / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2126, allocations: 4 kB / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2127, allocations: 0 / 0.8359 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.2129, allocations: 63.92 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.2131, allocations: 140.7 kB / 0.8361 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.2137, allocations: 114.6 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2139, allocations: 44.81 kB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/0.2143, allocations: 83.91 kB / 0.8364 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.2143, allocations: 34.5 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2143, allocations: 0 / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001106/0.2154, allocations: 329 kB / 0.8367 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2155, allocations: 55.41 kB / 0.8368 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.2156, allocations: 93.84 kB / 0.8369 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2156, allocations: 29.7 kB / 0.8369 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.2156, allocations: 88.08 kB / 0.837 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2156, allocations: 7.906 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.2157, allocations: 29.77 kB / 0.837 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2158, allocations: 318.8 kB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.216, allocations: 31.97 kB / 0.8373 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2161, allocations: 43.95 kB / 0.8374 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.2164, allocations: 64.81 kB / 0.8374 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2164, allocations: 4 kB / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003502/0.2168, allocations: 117.5 kB / 0.8376 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2168, allocations: 8 kB / 0.8376 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2168, allocations: 0 / 0.8376 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2168, allocations: 4 kB / 0.8376 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2169, allocations: 27.91 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.217, allocations: 0 / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.217, allocations: 11.98 kB / 0.8376 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2171, allocations: 4.25 kB / 0.8376 GB, free: 3.016 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 (6): * Single equations (assignments): 6 * 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.393e-05/0.2171, allocations: 110.5 kB / 0.8377 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.2172, allocations: 11.94 kB / 0.8377 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.2176, allocations: 137.3 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2176, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2176, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2176, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2177, allocations: 140.7 kB / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2177, allocations: 7.938 kB / 0.838 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.2179, allocations: 23.97 kB / 0.838 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2179, allocations: 0 / 0.838 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2179, allocations: 0 / 0.838 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2179, allocations: 4 kB / 0.838 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2179, allocations: 0 / 0.838 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.2185, allocations: 181 kB / 0.8382 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2185, allocations: 20.27 kB / 0.8382 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2185, allocations: 4.031 kB / 0.8382 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2187, allocations: 11.98 kB / 0.8382 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.2187, allocations: 3.984 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2187, allocations: 7.984 kB / 0.8382 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.2187, allocations: 79.22 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2187, allocations: 0 / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002273/0.219, allocations: 39.81 kB / 0.8384 GB, free: 2.168 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0009318/0.2199, allocations: 0.7451 MB / 0.8391 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003645/0.2203, allocations: 87.92 kB / 0.8392 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2203, allocations: 0 / 0.8392 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2204, allocations: 36.28 kB / 0.8392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.2206, allocations: 11.11 kB / 0.8392 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.2226, allocations: 1.36 MB / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.2227, allocations: 67.28 kB / 0.8406 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.319e-05/0.2228, allocations: 23.94 kB / 0.8406 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.2228, allocations: 15.42 kB / 0.8406 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.2228, allocations: 0 / 0.8406 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.2529, allocations: 2.619 MB / 0.8432 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.12, allocations: 11.62 kB / 0.8432 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.166061806026846] Failed to read output from testmodel.py, exit status != 0: 11.228627757634968 11.252349546 11.037001858 Calling exit ...