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.001558/0.001558, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.00164/0.00164, allocations: 160 kB / 23.01 MB, free: 4.945 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.335/1.335, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.002332/0.002332, allocations: 237.3 kB / 260 MB, free: 428 kB / 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 0.8909/0.8909, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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: 99.84 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3787, allocations: 95.34 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001576/0.3803, allocations: 0.6151 MB / 0.7411 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3818, allocations: 1.427 MB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.3818, allocations: 5.375 kB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3818, allocations: 0 / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.3818, allocations: 0 / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3822, allocations: 141.6 kB / 0.7426 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.3823, allocations: 27.09 kB / 0.7426 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3823, allocations: 6.344 kB / 0.7427 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.3824, allocations: 21.81 kB / 0.7427 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.3825, allocations: 21.27 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3825, allocations: 6.938 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.3828, allocations: 248.2 kB / 0.7429 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.3829, allocations: 13.09 kB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3829, allocations: 10.84 kB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3832, allocations: 179.2 kB / 0.7431 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3832, allocations: 0 / 0.7431 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3832, allocations: 1.156 kB / 0.7431 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3832, allocations: 0 / 0.7431 GB, free: 15.87 MB / 0.5919 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.0004105/0.3836, allocations: 292.4 kB / 0.7434 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.3836, allocations: 10.62 kB / 0.7434 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.3841, allocations: 66.16 kB / 0.7435 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.39e-05/0.3841, allocations: 113 kB / 0.7436 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3841, allocations: 6.188 kB / 0.7436 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3842, allocations: 6.781 kB / 0.7436 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.3844, allocations: 101.7 kB / 0.7437 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3844, allocations: 0 / 0.7437 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3844, allocations: 6.266 kB / 0.7437 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3844, allocations: 4 kB / 0.7437 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.3847, allocations: 63.98 kB / 0.7438 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.3848, allocations: 107.5 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.3854, allocations: 130.6 kB / 0.744 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3856, allocations: 41.89 kB / 0.744 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.386, allocations: 73.81 kB / 0.7441 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.386, allocations: 37.44 kB / 0.7441 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.386, allocations: 0 / 0.7441 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5): time 0.001039/0.387, allocations: 334.6 kB / 0.7445 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.478e-05/0.387, allocations: 56.47 kB / 0.7445 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.592e-05/0.3871, allocations: 97.61 kB / 0.7446 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.3871, allocations: 26.77 kB / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-06/0.3871, allocations: 80.14 kB / 0.7447 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3871, allocations: 20.11 kB / 0.7447 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3872, allocations: 22.47 kB / 0.7448 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.192e-05/0.3872, allocations: 312.8 kB / 0.7451 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3873, allocations: 39.3 kB / 0.7451 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3875, allocations: 35.92 kB / 0.7451 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.3878, allocations: 77.97 kB / 0.7452 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3878, allocations: 0 / 0.7452 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003442/0.3881, allocations: 116.5 kB / 0.7453 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3881, allocations: 9.5 kB / 0.7453 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3881, allocations: 4.688 kB / 0.7453 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3882, allocations: 0 / 0.7453 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3883, allocations: 26.3 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3883, allocations: 2 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.3884, allocations: 11.06 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3884, allocations: 3.156 kB / 0.7454 GB, free: 14.2 MB / 0.5919 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 4.264e-05/0.3885, allocations: 112.1 kB / 0.7455 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.3885, allocations: 9.953 kB / 0.7455 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.3889, allocations: 137.8 kB / 0.7456 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3889, allocations: 1.375 kB / 0.7456 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3889, allocations: 0 / 0.7456 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3889, allocations: 1.172 kB / 0.7456 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.874e-05/0.389, allocations: 116.5 kB / 0.7457 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.389, allocations: 0 / 0.7457 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.3891, allocations: 26.73 kB / 0.7458 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3891, allocations: 4.641 kB / 0.7458 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3892, allocations: 6.109 kB / 0.7458 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3892, allocations: 1.375 kB / 0.7458 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3892, allocations: 128 / 0.7458 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.3897, allocations: 182.7 kB / 0.7459 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.3897, allocations: 13.98 kB / 0.746 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3897, allocations: 10.08 kB / 0.746 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3899, allocations: 12.94 kB / 0.746 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3899, allocations: 9.359 kB / 0.746 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3899, allocations: 2.453 kB / 0.746 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.3899, allocations: 82.03 kB / 0.7461 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3899, allocations: 0 / 0.7461 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002205/0.3901, allocations: 30.19 kB / 0.7461 GB, free: 13.67 MB / 0.5919 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.0001446/0.3903, allocations: 129.2 kB / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3906, allocations: 81.67 kB / 0.7463 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3906, allocations: 4 kB / 0.7463 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.3908, allocations: 44.34 kB / 0.7463 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3909, allocations: 2.281 kB / 0.7463 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.3915, allocations: 180.3 kB / 0.7465 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.3915, allocations: 62.89 kB / 0.7466 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.937e-05/0.3916, allocations: 24.17 kB / 0.7466 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.3916, allocations: 18.53 kB / 0.7466 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.3916, allocations: 0 / 0.7466 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.003511/0.3951, allocations: 1.202 MB / 0.7478 GB, free: 13.17 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.400170829030685] Failed to read output from testmodel.py, exit status != 0: 0.4023323099827394 0.41257039799999995 0.0270741 Calling exit ...