Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001493/0.001493, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001536/0.001536, allocations: 162.9 kB / 23.01 MB, free: 4.598 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.329/1.329, allocations: 177.2 MB / 203.4 MB, free: 8.996 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.002287/0.002287, allocations: 233.8 kB / 260 MB, free: 464 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.8854/0.8854, 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002882/0.002882, allocations: 103.8 kB / 0.6474 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3714, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001735/0.3731, allocations: 0.7797 MB / 0.7413 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3746, allocations: 1.462 MB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.3746, allocations: 0 / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.3746, allocations: 0.6094 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.252e-05/0.3747, allocations: 5 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3751, allocations: 150.2 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.3752, allocations: 46.88 kB / 0.7429 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3752, allocations: 4.344 kB / 0.7429 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.3753, allocations: 28.2 kB / 0.7429 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.3754, allocations: 34.44 kB / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3754, allocations: 4.312 kB / 0.743 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.3757, allocations: 247.3 kB / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.3758, allocations: 14.72 kB / 0.7432 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3758, allocations: 25.09 kB / 0.7432 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3761, allocations: 205.5 kB / 0.7434 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3761, allocations: 3.938 kB / 0.7434 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3761, allocations: 1.438 kB / 0.7434 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3761, allocations: 0 / 0.7434 GB, free: 15.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000512/0.3766, allocations: 330.3 kB / 0.7437 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.3766, allocations: 9.031 kB / 0.7437 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.3771, allocations: 69.16 kB / 0.7438 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.302e-05/0.3771, allocations: 114.3 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3771, allocations: 8.719 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3772, allocations: 6.281 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.3775, allocations: 169.9 kB / 0.7441 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3775, allocations: 0.75 kB / 0.7441 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3776, allocations: 1.781 kB / 0.7441 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3776, allocations: 1.781 kB / 0.7441 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.378, allocations: 105.7 kB / 0.7442 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3785, allocations: 264.7 kB / 0.7445 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.3791, allocations: 158 kB / 0.7446 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3793, allocations: 51 kB / 0.7447 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3793, allocations: 1.375 kB / 0.7447 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3793, allocations: 39.94 kB / 0.7447 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3793, allocations: 0 / 0.7447 GB, free: 14.75 MB / 0.5919 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01772/0.3971, allocations: 2.691 MB / 0.7473 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.3971, allocations: 53.47 kB / 0.7474 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.3971, allocations: 104.7 kB / 0.7475 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3972, allocations: 31.05 kB / 0.7475 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.3972, allocations: 87.98 kB / 0.7476 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.3972, allocations: 35.94 kB / 0.7476 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3974, allocations: 69.53 kB / 0.7477 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.3974, allocations: 323.3 kB / 0.748 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.3981, allocations: 187.7 kB / 0.7482 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.3987, allocations: 197.5 kB / 0.7484 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.4, allocations: 391.8 kB / 0.7487 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4, allocations: 0 / 0.7487 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00151/0.4015, allocations: 480.8 kB / 0.7492 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4015, allocations: 9.469 kB / 0.7492 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4015, allocations: 4.797 kB / 0.7492 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4016, allocations: 1.125 kB / 0.7492 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.4024, allocations: 110.9 kB / 0.7493 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4024, allocations: 1.344 kB / 0.7493 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.403, allocations: 57.05 kB / 0.7494 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.4031, allocations: 23.91 kB / 0.7494 GB, free: 13.07 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 (13): * Single equations (assignments): 13 * 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.537e-05/0.4032, allocations: 114.3 kB / 0.7495 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.4032, allocations: 7.078 kB / 0.7495 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.4033, allocations: 14.66 kB / 0.7495 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4033, allocations: 1.156 kB / 0.7495 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4033, allocations: 5.719 kB / 0.7495 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4033, allocations: 4.594 kB / 0.7495 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.4053, allocations: 0.9585 MB / 0.7505 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4053, allocations: 1.375 kB / 0.7505 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.4061, allocations: 109.8 kB / 0.7506 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4061, allocations: 1.125 kB / 0.7506 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.4061, allocations: 22.91 kB / 0.7506 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4061, allocations: 3.938 kB / 0.7506 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4061, allocations: 0 / 0.7506 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.4083, allocations: 0.7992 MB / 0.7514 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.4084, allocations: 39.55 kB / 0.7514 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.4085, allocations: 1.188 kB / 0.7514 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.4091, allocations: 54.53 kB / 0.7515 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.4092, allocations: 30.53 kB / 0.7515 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.4093, allocations: 22.91 kB / 0.7515 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.4093, allocations: 82.03 kB / 0.7516 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4093, allocations: 0 / 0.7516 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003461/0.4096, allocations: 51.34 kB / 0.7517 GB, free: 11.65 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001371/0.4098, allocations: 112 kB / 0.7518 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.4111, allocations: 421.9 kB / 0.7522 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4111, allocations: 0 / 0.7522 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.4118, allocations: 219.6 kB / 0.7524 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4121, allocations: 12.7 kB / 0.7524 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.416, allocations: 0.7587 MB / 0.7531 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.416, allocations: 76.33 kB / 0.7532 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004427/0.4165, allocations: 86.84 kB / 0.7533 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.4167, allocations: 61.64 kB / 0.7533 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.4167, allocations: 0 / 0.7533 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of Templates: time 0.005561/0.4223, allocations: 3.708 MB / 0.757 GB, free: 8.547 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.550542281009257] Failed to read output from testmodel.py, exit status != 0: 0.42940096894744784 0.43915899799999997 0.060875206 Calling exit ...