Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001906/0.001906, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 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.002137/0.002137, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.298/3.298, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.123e-05, allocations: 5.516 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002005/0.002037, allocations: 0.7731 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.004445, allocations: 1.451 MB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.004492, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.004523, allocations: 7.875 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.004565, allocations: 3.938 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.005149, allocations: 147.4 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.005259, allocations: 51.89 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.005302, allocations: 7.984 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.005402, allocations: 39.91 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.005469, allocations: 23.95 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.005492, allocations: 4 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.005954, allocations: 255.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.005987, allocations: 15.91 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.006018, allocations: 12 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.006423, allocations: 227.4 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.006428, allocations: 4 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006429, allocations: 0 / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.006433, allocations: 3.938 kB / 1.004 GB, free: 9.941 MB / 0.9636 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.000701/0.007134, allocations: 329.8 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007172, allocations: 9.344 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.007647, allocations: 76.8 kB / 1.005 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.00778, allocations: 109.7 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.007812, allocations: 8.375 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.00784, allocations: 8.375 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.008284, allocations: 161.6 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.008303, allocations: 8.172 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.008317, allocations: 384 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.008324, allocations: 3.938 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.008862, allocations: 103.8 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.009452, allocations: 260.4 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.01017, allocations: 158.3 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.01044, allocations: 60.81 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01046, allocations: 3.938 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.01049, allocations: 34.56 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01049, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 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.01918/0.02967, allocations: 2.687 MB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.02973, allocations: 55.41 kB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.02983, allocations: 101.8 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.02989, allocations: 29.7 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.02995, allocations: 92.17 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.03004, allocations: 51.52 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.03021, allocations: 65.58 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.03039, allocations: 322.8 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.03113, allocations: 187.8 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.03187, allocations: 199.7 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.03337, allocations: 400 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.03337, allocations: 0 / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001737/0.03511, allocations: 473.2 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03513, allocations: 4 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.03514, allocations: 4 kB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.03515, allocations: 0 / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.03604, allocations: 107.7 kB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.03605, allocations: 3.984 kB / 1.01 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.0367, allocations: 47.94 kB / 1.01 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.03676, allocations: 23.94 kB / 1.01 GB, free: 3.59 MB / 0.9636 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.0002394/0.037, allocations: 117.8 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.03708, allocations: 7.953 kB / 1.01 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.03714, allocations: 12.12 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.03714, allocations: 4 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.03715, allocations: 3.984 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.03715, allocations: 0 / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.03967, allocations: 0.9688 MB / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03967, allocations: 0 / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.04055, allocations: 99.8 kB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.04055, allocations: 0 / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.04061, allocations: 27.94 kB / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.04061, allocations: 0 / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.04061, allocations: 0 / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.04329, allocations: 0.7958 MB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.04345, allocations: 39.89 kB / 1.012 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.04351, allocations: 11.98 kB / 1.012 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.04422, allocations: 43.94 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.04434, allocations: 31.91 kB / 1.012 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.04441, allocations: 27.88 kB / 1.012 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.04447, allocations: 83.28 kB / 1.012 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04447, allocations: 0 / 1.012 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003874/0.04485, allocations: 48 kB / 1.012 GB, free: 1.152 MB / 0.9636 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.0002497/0.0451, allocations: 115.2 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.04673, allocations: 411.5 kB / 1.013 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.04673, allocations: 8 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.04755, allocations: 223.7 kB / 1.013 GB, free: 408 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.04787, allocations: 15.92 kB / 1.013 GB, free: 392 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.05239, allocations: 0.7428 MB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.05248, allocations: 79.27 kB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005561/0.05304, allocations: 92.67 kB / 1.014 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.05331, allocations: 56.36 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of SimCode: time 7.11e-07/0.05331, allocations: 0 / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of Templates: time 0.008332/0.06164, allocations: 3.691 MB / 1.018 GB, free: 11.7 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.106847899965942]