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.001322/0.001322, 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.001606/0.001606, allocations: 217 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.002467/0.002467, allocations: 283.6 kB / 313.5 MB, free: 2.777 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.217/1.217, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.00477/0.00477, allocations: 92.97 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.199, allocations: 95.4 MB / 0.8336 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00178/0.2007, allocations: 0.5999 MB / 0.8341 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2027, allocations: 1.523 MB / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.2028, allocations: 0 / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2028, allocations: 0 / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.391e-05/0.2028, allocations: 3.938 kB / 0.8356 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2033, allocations: 144.3 kB / 0.8358 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.2034, allocations: 39.89 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.2034, allocations: 0 / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.2035, allocations: 15.98 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2036, allocations: 23.91 kB / 0.8358 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2036, allocations: 4 kB / 0.8358 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.204, allocations: 319.4 kB / 0.8361 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2041, allocations: 3.984 kB / 0.8362 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.2041, allocations: 19.86 kB / 0.8362 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.2044, allocations: 191.8 kB / 0.8364 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2044, allocations: 0 / 0.8364 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2044, allocations: 0 / 0.8364 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2044, allocations: 0 / 0.8364 GB, free: 5.695 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.0005607/0.205, allocations: 290 kB / 0.8366 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.205, allocations: 9.344 kB / 0.8366 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.769e-05/0.205, allocations: 4.125 kB / 0.8366 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.2051, allocations: 42.75 kB / 0.8367 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.2055, allocations: 68.84 kB / 0.8368 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2056, allocations: 110.5 kB / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2057, allocations: 384 / 0.8369 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.2057, allocations: 8.328 kB / 0.8369 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2059, allocations: 73.58 kB / 0.8369 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.206, allocations: 4 kB / 0.8369 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.206, allocations: 4 kB / 0.8369 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.206, allocations: 3.984 kB / 0.8369 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.2063, allocations: 59.92 kB / 0.837 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.2065, allocations: 140.8 kB / 0.8371 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.2071, allocations: 118.6 kB / 0.8373 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2073, allocations: 48.81 kB / 0.8373 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/0.2077, allocations: 79.84 kB / 0.8374 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2077, allocations: 30.56 kB / 0.8374 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2077, allocations: 0 / 0.8374 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001167/0.2089, allocations: 329 kB / 0.8377 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2089, allocations: 55.41 kB / 0.8378 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.209, allocations: 101.8 kB / 0.8379 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.209, allocations: 25.7 kB / 0.8379 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.2091, allocations: 80.14 kB / 0.838 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.2091, allocations: 19.89 kB / 0.838 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.2092, allocations: 21.7 kB / 0.838 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2093, allocations: 314.8 kB / 0.8383 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2095, allocations: 36.09 kB / 0.8383 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2096, allocations: 43.89 kB / 0.8384 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.2099, allocations: 68.81 kB / 0.8384 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2099, allocations: 0 / 0.8384 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004052/0.2103, allocations: 121.5 kB / 0.8386 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2104, allocations: 4 kB / 0.8386 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2104, allocations: 4 kB / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2104, allocations: 0 / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2105, allocations: 28.22 kB / 0.8386 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2105, allocations: 7.875 kB / 0.8386 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2106, allocations: 15.98 kB / 0.8386 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2107, allocations: 3.938 kB / 0.8386 GB, free: 3.148 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 9.14e-05/0.2107, allocations: 114.5 kB / 0.8387 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.2108, allocations: 3.938 kB / 0.8387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.2112, allocations: 133.3 kB / 0.8389 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2112, allocations: 4 kB / 0.8389 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2112, allocations: 0 / 0.8389 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2112, allocations: 0 / 0.8389 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.2114, allocations: 140.7 kB / 0.839 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2114, allocations: 4 kB / 0.839 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.2115, allocations: 27.91 kB / 0.839 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2115, allocations: 4 kB / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2116, allocations: 0 / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2116, allocations: 0 / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2116, allocations: 0 / 0.839 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.2122, allocations: 196.9 kB / 0.8392 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2122, allocations: 8.016 kB / 0.8392 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.2122, allocations: 0 / 0.8392 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2124, allocations: 11.98 kB / 0.8392 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.2124, allocations: 4 kB / 0.8392 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2124, allocations: 7.984 kB / 0.8393 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.2125, allocations: 83.34 kB / 0.8393 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2125, allocations: 0 / 0.8393 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002566/0.2127, allocations: 27.88 kB / 0.8394 GB, free: 2.312 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.001032/0.2137, allocations: 0.7489 MB / 0.8401 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.2142, allocations: 84.17 kB / 0.8402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2142, allocations: 0 / 0.8402 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2143, allocations: 47.91 kB / 0.8402 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.2145, allocations: 8 kB / 0.8402 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2167, allocations: 1.363 MB / 0.8416 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.217, allocations: 0.6768 MB / 0.8422 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.218e-05/0.217, allocations: 20.27 kB / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.2171, allocations: 19.42 kB / 0.8423 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of SimCode: time 6.02e-07/0.2171, allocations: 0 / 0.8423 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2401, allocations: 2.231 MB / 0.8444 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 1.875 kB / 0.8444 GB, free: 13.13 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 sys.exit(0), Time elapsed: 15.536113522015512] Failed to read output from testmodel.py, exit status != 0: 11.498030695016496 11.520218468 11.311624437 Calling exit ...