Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001852/0.001852, allocations: 105.6 kB / 19.69 MB, free: 2.277 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.002271/0.002271, allocations: 216.1 kB / 23.01 MB, free: 4.602 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.8 MB / 0.7714 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Buildings 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.002145/0.002145, allocations: 67.38 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002106/0.3258, allocations: 0.7948 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.328, allocations: 1.538 MB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.328, allocations: 4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.328, allocations: 7.938 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.3281, allocations: 3.938 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.3286, allocations: 143.4 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3287, allocations: 55.94 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3288, allocations: 7.938 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.3288, allocations: 27.92 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.3289, allocations: 31.84 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3289, allocations: 4 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.3294, allocations: 323.3 kB / 1.288 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3295, allocations: 11.98 kB / 1.288 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3295, allocations: 27.84 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3298, allocations: 203.4 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3299, allocations: 4 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3299, allocations: 0 / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3299, allocations: 4 kB / 1.288 GB, free: 8.016 MB / 0.9825 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.0006678/0.3305, allocations: 333.8 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3306, allocations: 8.031 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.331, allocations: 76.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3311, allocations: 106.5 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.3312, allocations: 8.375 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.3312, allocations: 12.31 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3316, allocations: 117.9 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3316, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3316, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3316, allocations: 4 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.3321, allocations: 99.89 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.3327, allocations: 315.6 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.3336, allocations: 154.4 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.334, allocations: 56.75 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.334, allocations: 0 / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3341, allocations: 34.56 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3341, allocations: 0 / 1.289 GB, free: 6.594 MB / 0.9825 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.02063/0.3547, allocations: 2.686 MB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3548, allocations: 59.34 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.3548, allocations: 105.8 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.3549, allocations: 29.7 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.355, allocations: 84.09 kB / 1.292 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.355, allocations: 47.56 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3552, allocations: 69.58 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3554, allocations: 318.8 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.356, allocations: 191.8 kB / 1.293 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.3567, allocations: 195.8 kB / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.358, allocations: 392.7 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.358, allocations: 4 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001526/0.3595, allocations: 477.3 kB / 1.294 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3595, allocations: 4 kB / 1.294 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3595, allocations: 320 / 1.294 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3596, allocations: 0 / 1.294 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.3604, allocations: 111.8 kB / 1.294 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3604, allocations: 3.938 kB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.361, allocations: 47.94 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.3611, allocations: 31.91 kB / 1.294 GB, free: 1.672 MB / 0.9825 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 0.0001724/0.3613, allocations: 117.8 kB / 1.294 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.3613, allocations: 4 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.3614, allocations: 12.06 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3614, allocations: 0 / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3614, allocations: 3.938 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3614, allocations: 7.984 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.3637, allocations: 1.015 MB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3637, allocations: 0 / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.3646, allocations: 107.7 kB / 1.295 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.3646, allocations: 7.938 kB / 1.295 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.3647, allocations: 19.94 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3647, allocations: 7.984 kB / 1.295 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3647, allocations: 0 / 1.295 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.3671, allocations: 0.788 MB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3672, allocations: 43.73 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.3673, allocations: 7.984 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.368, allocations: 48 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3681, allocations: 27.92 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.3681, allocations: 19.94 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.3682, allocations: 87.27 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 4 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004253/0.3686, allocations: 55.94 kB / 1.296 GB, free: 15.16 MB / 0.9981 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.0002654/0.3689, allocations: 111.1 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.3703, allocations: 415.5 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3703, allocations: 4 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.371, allocations: 223.7 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3714, allocations: 10.25 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.3756, allocations: 0.7911 MB / 1.298 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3759, allocations: 0.6963 MB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.3763, allocations: 79.23 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of SimCode: time 1.173e-06/0.3763, allocations: 0 / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.006481/0.3828, allocations: 3.779 MB / 1.302 GB, free: 9 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.873183852003422] Failed to read output from testmodel.py, exit status != 0: 0.934778938011732 0.40565504 0.072693248 Calling exit ...