Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001759/0.001759, allocations: 116.8 kB / 17.13 MB, free: 5.941 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.002093/0.002093, allocations: 196.7 kB / 20.08 MB, free: 3.008 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3705, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002088/0.3726, allocations: 0.5949 MB / 1.215 GB, free: 348 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.375, allocations: 1.466 MB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.375, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.3751, allocations: 0 / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.3751, allocations: 3.938 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3757, allocations: 139.4 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.3758, allocations: 31.91 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3758, allocations: 4 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.3759, allocations: 19.92 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.376, allocations: 23.97 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.376, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.3765, allocations: 319.3 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.3765, allocations: 7.984 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.3766, allocations: 19.91 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3769, allocations: 191.5 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3769, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3769, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3769, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 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.0006771/0.3776, allocations: 363.1 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3776, allocations: 8.031 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/0.3781, allocations: 68.84 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3783, allocations: 164.4 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.3783, allocations: 4.375 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3783, allocations: 16.3 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3786, allocations: 73.95 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3786, allocations: 4 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3786, allocations: 0 / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3786, allocations: 3.984 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.379, allocations: 67.92 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.3792, allocations: 161.6 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3798, allocations: 130.5 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.38, allocations: 44.91 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/0.3805, allocations: 153 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3805, allocations: 38.5 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3805, allocations: 4 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.001333/0.3818, allocations: 406.1 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3819, allocations: 55.34 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.382, allocations: 97.84 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.382, allocations: 29.7 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.382, allocations: 84.27 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3821, allocations: 11.91 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.3821, allocations: 25.7 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3823, allocations: 310.8 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3824, allocations: 31.97 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3826, allocations: 39.97 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.3829, allocations: 76.73 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3829, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003738/0.3833, allocations: 125.5 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3833, allocations: 8 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3833, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3833, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3835, allocations: 23.97 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3835, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.3836, allocations: 15.98 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3836, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.9669 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.927e-05/0.3837, allocations: 113.8 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.3837, allocations: 3.938 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.3842, allocations: 141.4 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3842, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3842, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3842, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3843, allocations: 165.7 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3843, allocations: 4 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.3845, allocations: 27.91 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3845, allocations: 4 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3845, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3845, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3845, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.3851, allocations: 185.7 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.3852, allocations: 93.02 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3852, allocations: 7.922 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3853, allocations: 16.05 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.3854, allocations: 4 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3854, allocations: 4 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.3854, allocations: 83.27 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002472/0.3857, allocations: 27.88 kB / 1.22 GB, free: 10.26 MB / 0.9669 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.0002432/0.3859, allocations: 135.2 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.3863, allocations: 83.86 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3863, allocations: 4 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3865, allocations: 39.97 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.3867, allocations: 2.359 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.3874, allocations: 215 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3877, allocations: 0.6806 MB / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3878, allocations: 23.36 kB / 1.221 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3878, allocations: 4 kB / 1.221 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.003286/0.391, allocations: 1.128 MB / 1.222 GB, free: 7.891 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.858964640880004] Failed to read output from testmodel.py, exit status != 0: 0.3994701970368624 0.41312811000000005 0.033266105000000004 Calling exit ...