Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001389/0.001389, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001471/0.001471, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 69.03 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001813/0.3539, allocations: 0.6049 MB / 1.305 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3558, allocations: 1.451 MB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.3558, allocations: 3.938 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.3558, allocations: 0 / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.459e-05/0.3559, allocations: 0 / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.3563, allocations: 151.4 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.3564, allocations: 27.97 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.3565, allocations: 3.984 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.3565, allocations: 23.92 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.3566, allocations: 15.97 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3566, allocations: 8 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.3571, allocations: 323.3 kB / 1.307 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3571, allocations: 7.984 kB / 1.307 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.3571, allocations: 15.92 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3574, allocations: 187.8 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3574, allocations: 3.984 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3574, allocations: 0 / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.3574, allocations: 0 / 1.307 GB, free: 14.71 MB / 1.014 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.0005822/0.358, allocations: 360.7 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.358, allocations: 16.62 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.3581, allocations: 30.75 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.3585, allocations: 72.8 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3587, allocations: 160.4 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3587, allocations: 384 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3587, allocations: 8.375 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.359, allocations: 77.75 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.359, allocations: 4 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.359, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.359, allocations: 4 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.3593, allocations: 71.86 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.3595, allocations: 157.7 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.3601, allocations: 122.6 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3602, allocations: 48.84 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.3607, allocations: 153 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3607, allocations: 34.5 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3607, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.001186/0.3619, allocations: 410.4 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3619, allocations: 55.41 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.362, allocations: 101.8 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.362, allocations: 25.7 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3621, allocations: 80.14 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3621, allocations: 19.86 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3622, allocations: 21.7 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3623, allocations: 318.8 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3624, allocations: 36.09 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3626, allocations: 31.97 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.3629, allocations: 76.8 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3629, allocations: 0 / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003649/0.3633, allocations: 121.5 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3633, allocations: 4 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3633, allocations: 0 / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3633, allocations: 12.03 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3634, allocations: 23.97 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3634, allocations: 0 / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.3635, allocations: 11.98 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.3635, allocations: 0 / 1.309 GB, free: 11.8 MB / 1.014 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.988e-05/0.3636, allocations: 117.8 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3637, allocations: 7.938 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.3641, allocations: 133.3 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3641, allocations: 64 / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3641, allocations: 8 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3641, allocations: 0 / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3643, allocations: 173.6 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3643, allocations: 3.938 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3644, allocations: 23.97 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3644, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3644, allocations: 7.938 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3644, allocations: 0 / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3644, allocations: 0 / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.365, allocations: 192.9 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.254e-05/0.3651, allocations: 85.03 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3651, allocations: 8.016 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3652, allocations: 11.98 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3653, allocations: 0 / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3653, allocations: 8 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.3653, allocations: 83.33 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3653, allocations: 0 / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002399/0.3656, allocations: 31.88 kB / 1.31 GB, free: 10.81 MB / 1.014 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.001033/0.3666, allocations: 0.7529 MB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.3669, allocations: 79.81 kB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.367, allocations: 0 / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3671, allocations: 47.95 kB / 1.311 GB, free: 9.898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3673, allocations: 4 kB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3694, allocations: 1.371 MB / 1.312 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3697, allocations: 0.6803 MB / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.288e-05/0.3698, allocations: 16 kB / 1.313 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3698, allocations: 15.44 kB / 1.313 GB, free: 7.711 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.3698, allocations: 0 / 1.313 GB, free: 7.711 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3949, allocations: 2.072 MB / 1.315 GB, free: 5.773 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.509, allocations: 4.359 kB / 1.315 GB, free: 5.77 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.172197300940752] Failed to read output from testmodel.py, exit status != 0: 8.575922638643533 8.591627952 8.231275819 Calling exit ...