Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007062/0.0007062, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009455/0.001652, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001704/0.001704, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001831/0.003535, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.999/0.999, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0929/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.918/1.918, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5133/2.431, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 GB " [Timeout remaining time 178] 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7445 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.35e-05, allocations: 5.75 kB / 0.7445 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001447/0.00147, allocations: 0.6696 MB / 0.7452 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003081, allocations: 1.472 MB / 0.7466 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.003103, allocations: 0.7812 kB / 0.7466 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.182e-06/0.003109, allocations: 4.875 kB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.267e-05/0.003122, allocations: 3 kB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.003451, allocations: 139.8 kB / 0.7468 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.003524, allocations: 29.5 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.003564, allocations: 0.875 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.00364, allocations: 27.45 kB / 0.7468 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.003718, allocations: 20.84 kB / 0.7469 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003734, allocations: 0 / 0.7469 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.004018, allocations: 258.8 kB / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.004032, allocations: 4.266 kB / 0.7471 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.004046, allocations: 4 kB / 0.7471 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.004251, allocations: 171.7 kB / 0.7473 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.004266, allocations: 4.844 kB / 0.7473 GB, free: 500 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004267, allocations: 0 / 0.7473 GB, free: 500 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.004286, allocations: 0 / 0.7473 GB, free: 500 kB / 0.7136 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.000419/0.004705, allocations: 270.1 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.004736, allocations: 8.031 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.004982, allocations: 136 kB / 0.7477 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.005085, allocations: 118.3 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.005099, allocations: 1.594 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005117, allocations: 4.375 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.005264, allocations: 105.5 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.005271, allocations: 192 / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.00528, allocations: 5.281 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005286, allocations: 3.938 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.005323, allocations: 8.688 kB / 0.7479 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.005551, allocations: 65.03 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.005711, allocations: 41.05 kB / 0.748 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.005735, allocations: 16.86 kB / 0.748 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.005874, allocations: 50.94 kB / 0.7481 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.005893, allocations: 34.5 kB / 0.7481 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005895, allocations: 0 / 0.7481 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003993/0.006294, allocations: 198.7 kB / 0.7483 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.006321, allocations: 54.69 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.006371, allocations: 102.7 kB / 0.7484 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.006382, allocations: 25.7 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.006404, allocations: 84.14 kB / 0.7485 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.006433, allocations: 27.77 kB / 0.7486 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.006468, allocations: 21.72 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.00655, allocations: 314.8 kB / 0.7489 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.006575, allocations: 15.45 kB / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.006591, allocations: 4 kB / 0.7489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.006636, allocations: 28.97 kB / 0.7489 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006637, allocations: 3.938 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.669e-05/0.006703, allocations: 45.69 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006716, allocations: 8 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006721, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.006729, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.006808, allocations: 21.05 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006811, allocations: 0 / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.006842, allocations: 16.48 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006847, allocations: 0.5 kB / 0.749 GB, free: 14.5 MB / 0.7292 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 5.309e-05/0.0069, allocations: 110.9 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.006911, allocations: 3.984 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.007029, allocations: 80.25 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007031, allocations: 1.062 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007033, allocations: 0 / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007037, allocations: 3.938 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.478e-05/0.007101, allocations: 71.69 kB / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007104, allocations: 4 kB / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.007169, allocations: 19.97 kB / 0.7493 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.007194, allocations: 9.203 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007195, allocations: 0 / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.007202, allocations: 0 / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007203, allocations: 0 / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007204, allocations: 5.906 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007314, allocations: 92.98 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.007327, allocations: 4.188 kB / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.00736, allocations: 16.8 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.007377, allocations: 4.859 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.007382, allocations: 4 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.496e-06/0.007391, allocations: 5.422 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007391, allocations: 0.8125 kB / 0.7495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001337/0.007525, allocations: 35.86 kB / 0.7495 GB, free: 14 MB / 0.7292 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.0001513/0.007676, allocations: 109.3 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.007759, allocations: 42.12 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.007764, allocations: 4 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.007787, allocations: 20.84 kB / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.076e-05/0.007858, allocations: 7.125 kB / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.008132, allocations: 146.9 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.578e-05/0.008158, allocations: 59.34 kB / 0.7499 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.008213, allocations: 12.59 kB / 0.7499 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.008272, allocations: 64.8 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.008273, allocations: 0 / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002638/0.01091, allocations: 1.334 MB / 0.7512 GB, free: 12.23 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.916422630660236]