Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110.7 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.749 GB, free: 2.992 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.89 kB / 1.073 GB, free: 32 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7923, allocations: 159.1 MB / 1.229 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001904/0.7942, allocations: 0.6053 MB / 1.229 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.7962, allocations: 1.454 MB / 1.231 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.7963, allocations: 0 / 1.231 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.7963, allocations: 0 / 1.231 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.136e-05/0.7964, allocations: 4 kB / 1.231 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.7969, allocations: 143.4 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.797, allocations: 31.91 kB / 1.231 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.797, allocations: 0 / 1.231 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.7971, allocations: 19.98 kB / 1.231 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.7972, allocations: 27.89 kB / 1.231 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.7972, allocations: 0 / 1.231 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.7977, allocations: 323.3 kB / 1.231 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.7977, allocations: 11.97 kB / 1.231 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.7977, allocations: 4 kB / 1.231 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.7981, allocations: 189.3 kB / 1.231 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7981, allocations: 0 / 1.231 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7981, allocations: 0 / 1.231 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7981, allocations: 0 / 1.231 GB, free: 1.961 MB / 0.9356 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.00061/0.7987, allocations: 375 kB / 1.232 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7988, allocations: 12.03 kB / 1.232 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.7988, allocations: 34.75 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.7993, allocations: 68.84 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.7994, allocations: 160.4 kB / 1.232 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.7995, allocations: 4.312 kB / 1.232 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.7995, allocations: 8.328 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.7998, allocations: 85.75 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7998, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.7998, allocations: 3.984 kB / 1.232 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.7998, allocations: 0 / 1.232 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.8002, allocations: 71.86 kB / 1.232 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.8004, allocations: 157.7 kB / 1.232 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.8011, allocations: 118.6 kB / 1.232 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.8013, allocations: 48.92 kB / 1.233 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/0.8018, allocations: 153 kB / 1.233 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.8018, allocations: 38.5 kB / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.557e-06/0.8018, allocations: 0 / 1.233 GB, free: 472 kB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.001287/0.8031, allocations: 410.1 kB / 1.233 GB, free: 8 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.8032, allocations: 51.41 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.8033, allocations: 97.86 kB / 1.233 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.8033, allocations: 25.7 kB / 1.233 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.8033, allocations: 84.12 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.8034, allocations: 19.84 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.8034, allocations: 17.78 kB / 1.233 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8036, allocations: 326.8 kB / 1.234 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.8038, allocations: 31.97 kB / 1.234 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.804, allocations: 39.97 kB / 1.234 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.8043, allocations: 68.8 kB / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.8043, allocations: 4 kB / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003989/0.8047, allocations: 121.5 kB / 1.234 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.8047, allocations: 8 kB / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8048, allocations: 4 kB / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8048, allocations: 0 / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.8049, allocations: 23.97 kB / 1.234 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.805, allocations: 0 / 1.234 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.8051, allocations: 11.98 kB / 1.234 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8051, allocations: 0 / 1.234 GB, free: 15.04 MB / 0.9512 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.973e-05/0.8052, allocations: 117.8 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.8052, allocations: 7.875 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.8057, allocations: 133.1 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8057, allocations: 4 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8057, allocations: 4 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8057, allocations: 320 / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.8059, allocations: 169.6 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8059, allocations: 7.938 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.8061, allocations: 23.97 kB / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8061, allocations: 0 / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8061, allocations: 4 kB / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8061, allocations: 0 / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8061, allocations: 0 / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.8068, allocations: 185 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.8069, allocations: 92.98 kB / 1.235 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.8069, allocations: 4.031 kB / 1.235 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.807, allocations: 15.97 kB / 1.235 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.807, allocations: 4.062 kB / 1.235 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.8071, allocations: 4 kB / 1.235 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.8071, allocations: 79.28 kB / 1.235 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8071, allocations: 0 / 1.235 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000246/0.8074, allocations: 35.86 kB / 1.235 GB, free: 14.06 MB / 0.9512 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.001051/0.8084, allocations: 0.7459 MB / 1.236 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.8089, allocations: 87.92 kB / 1.236 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8089, allocations: 0 / 1.236 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.809, allocations: 43.95 kB / 1.236 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.8092, allocations: 4 kB / 1.236 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.8114, allocations: 1.363 MB / 1.237 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8118, allocations: 0.6806 MB / 1.238 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.929e-05/0.8119, allocations: 23.97 kB / 1.238 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.8119, allocations: 19.44 kB / 1.238 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of SimCode: time 5.92e-07/0.8119, allocations: 0 / 1.238 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.837, allocations: 2.066 MB / 1.24 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.947, allocations: 9 kB / 1.24 GB, free: 9.023 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.861891165142879] Failed to read output from testmodel.py, exit status != 0: 9.018713093129918 9.040309177 8.23859351 Calling exit ...