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.0007854/0.0007854, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007403/0.0007403, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8491/0.8491, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 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.001467/0.001467, allocations: 226.1 kB / 260.2 MB, free: 13.04 MB / 250.7 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.6571/0.6571, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6476 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.077e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001339/0.00137, allocations: 0.6004 MB / 0.6482 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2316/0.233, allocations: 1.43 MB / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.233, allocations: 4.75 kB / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.233, allocations: 0 / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.233, allocations: 0.5469 kB / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.2334, allocations: 143.3 kB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.2335, allocations: 32.44 kB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.2335, allocations: 3.219 kB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.2336, allocations: 19.05 kB / 0.6498 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.2337, allocations: 26.36 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2337, allocations: 1.844 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.234, allocations: 252.3 kB / 0.65 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.234, allocations: 7.047 kB / 0.65 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.234, allocations: 8.781 kB / 0.65 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.2343, allocations: 204.1 kB / 0.6502 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2343, allocations: 1.438 kB / 0.6502 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2343, allocations: 0 / 0.6502 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2343, allocations: 0 / 0.6502 GB, free: 56.23 MB / 0.5573 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.0003463/0.2346, allocations: 297.3 kB / 0.6505 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2346, allocations: 10.62 kB / 0.6505 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.2349, allocations: 69.44 kB / 0.6506 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.964e-05/0.235, allocations: 107.4 kB / 0.6507 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.235, allocations: 2.469 kB / 0.6507 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.235, allocations: 4.5 kB / 0.6507 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2352, allocations: 102.8 kB / 0.6508 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2352, allocations: 192 / 0.6508 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2352, allocations: 5.688 kB / 0.6508 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2352, allocations: 6.156 kB / 0.6508 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2354, allocations: 69.11 kB / 0.6509 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.2355, allocations: 107 kB / 0.651 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.2358, allocations: 125.1 kB / 0.6511 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.2359, allocations: 42.33 kB / 0.6511 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.2361, allocations: 76.06 kB / 0.6512 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2362, allocations: 32.47 kB / 0.6512 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2362, allocations: 0.6562 kB / 0.6512 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0006706/0.2368, allocations: 327.7 kB / 0.6516 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.2368, allocations: 60.81 kB / 0.6516 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.339e-05/0.2369, allocations: 96.39 kB / 0.6517 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2369, allocations: 30.86 kB / 0.6517 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.051e-05/0.2369, allocations: 80.14 kB / 0.6518 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.2369, allocations: 18.55 kB / 0.6518 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.237, allocations: 27.47 kB / 0.6519 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.237, allocations: 313.5 kB / 0.6522 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.2371, allocations: 36 kB / 0.6522 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.2371, allocations: 39.88 kB / 0.6522 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2373, allocations: 70.75 kB / 0.6523 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2373, allocations: 5.125 kB / 0.6523 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001816/0.2375, allocations: 113 kB / 0.6524 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2375, allocations: 8.188 kB / 0.6524 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2375, allocations: 4 kB / 0.6524 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2375, allocations: 3.031 kB / 0.6524 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.2376, allocations: 33.14 kB / 0.6525 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2376, allocations: 0.8906 kB / 0.6525 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.2376, allocations: 12.52 kB / 0.6525 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2376, allocations: 3.438 kB / 0.6525 GB, free: 54.71 MB / 0.5573 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.075e-05/0.2376, allocations: 113.5 kB / 0.6526 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.2377, allocations: 1.656 kB / 0.6526 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.2379, allocations: 135.1 kB / 0.6527 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2379, allocations: 1.781 kB / 0.6527 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2379, allocations: 4.734 kB / 0.6527 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2379, allocations: 0 / 0.6527 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.844e-05/0.238, allocations: 114.9 kB / 0.6528 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.238, allocations: 1.938 kB / 0.6528 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.238, allocations: 25.55 kB / 0.6529 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.238, allocations: 0 / 0.6529 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.238, allocations: 5.797 kB / 0.6529 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2381, allocations: 0 / 0.6529 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2381, allocations: 2.391 kB / 0.6529 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.2384, allocations: 187.9 kB / 0.653 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.2384, allocations: 8.938 kB / 0.653 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2384, allocations: 2.812 kB / 0.6531 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.2384, allocations: 12.05 kB / 0.6531 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.2385, allocations: 11.84 kB / 0.6531 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2385, allocations: 4.688 kB / 0.6531 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.243e-05/0.2385, allocations: 78.09 kB / 0.6532 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2385, allocations: 3.938 kB / 0.6532 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001446/0.2386, allocations: 33.92 kB / 0.6532 GB, free: 54.25 MB / 0.5573 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.0001528/0.2388, allocations: 133.9 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.239, allocations: 82.52 kB / 0.6534 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.239, allocations: 0 / 0.6534 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.2391, allocations: 48.64 kB / 0.6534 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.2392, allocations: 2.891 kB / 0.6534 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.2396, allocations: 206.8 kB / 0.6536 GB, free: 54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.2396, allocations: 65.38 kB / 0.6537 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2396, allocations: 15.39 kB / 0.6537 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2396, allocations: 4 kB / 0.6537 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.002254/0.2419, allocations: 1.153 MB / 0.6548 GB, free: 53.86 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.299478676170111] Failed to read output from testmodel.py, exit status != 0: 0.24835341982543468 0.254981518 0.019189626 Calling exit ...