Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0007436/0.0007436, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007611/0.0007611, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8403/0.8403, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5113/0.5113, allocations: 110.2 MB / 370.2 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5486 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.594e-05, allocations: 2.281 kB / 0.5486 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00098/0.0009959, allocations: 0.6084 MB / 0.5492 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.002439, allocations: 1.423 MB / 0.5505 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.002467, allocations: 0 / 0.5505 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.002485, allocations: 0 / 0.5505 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.565e-05/0.00251, allocations: 0 / 0.5505 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.002943, allocations: 155.2 kB / 0.5507 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.003009, allocations: 31.95 kB / 0.5507 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.00305, allocations: 0 / 0.5507 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.003105, allocations: 19.98 kB / 0.5507 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.003176, allocations: 23.89 kB / 0.5508 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.003193, allocations: 4 kB / 0.5508 GB, free: 7 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.003447, allocations: 243.5 kB / 0.551 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003466, allocations: 19.91 kB / 0.551 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.003484, allocations: 7.922 kB / 0.551 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.003713, allocations: 203.4 kB / 0.5512 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003715, allocations: 0 / 0.5512 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003716, allocations: 4 kB / 0.5512 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003721, allocations: 0 / 0.5512 GB, free: 6.531 MB / 0.5105 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.0003979/0.004119, allocations: 294 kB / 0.5515 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004155, allocations: 8.031 kB / 0.5515 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.004404, allocations: 68.84 kB / 0.5516 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.004484, allocations: 109.8 kB / 0.5517 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.004508, allocations: 384 / 0.5517 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.004529, allocations: 4.359 kB / 0.5517 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.004707, allocations: 103.8 kB / 0.5518 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004716, allocations: 192 / 0.5518 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.00473, allocations: 8.375 kB / 0.5518 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004735, allocations: 3.938 kB / 0.5518 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.004881, allocations: 59.94 kB / 0.5519 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.005016, allocations: 113.3 kB / 0.552 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.00535, allocations: 122.6 kB / 0.5521 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.005437, allocations: 48.81 kB / 0.5521 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.005659, allocations: 79.91 kB / 0.5522 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.005679, allocations: 34.56 kB / 0.5522 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.00568, allocations: 4 kB / 0.5522 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0006629/0.006343, allocations: 329 kB / 0.5526 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.006371, allocations: 59.34 kB / 0.5526 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.534e-05/0.006417, allocations: 93.84 kB / 0.5527 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006429, allocations: 29.7 kB / 0.5527 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.00645, allocations: 84.14 kB / 0.5528 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.006473, allocations: 11.89 kB / 0.5528 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.006509, allocations: 25.7 kB / 0.5528 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.006591, allocations: 310.8 kB / 0.5531 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.006668, allocations: 36.09 kB / 0.5532 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.00674, allocations: 39.95 kB / 0.5532 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.006893, allocations: 81 kB / 0.5533 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006894, allocations: 0 / 0.5533 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001801/0.007074, allocations: 113.6 kB / 0.5534 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.007085, allocations: 4 kB / 0.5534 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.007089, allocations: 0 / 0.5534 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.0071, allocations: 0 / 0.5534 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.007169, allocations: 35.91 kB / 0.5534 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007174, allocations: 0 / 0.5534 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.007213, allocations: 11.98 kB / 0.5534 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.007221, allocations: 7.938 kB / 0.5535 GB, free: 4.039 MB / 0.5105 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.095e-05/0.007272, allocations: 105.8 kB / 0.5536 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.00728, allocations: 7.953 kB / 0.5536 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.007511, allocations: 141.3 kB / 0.5537 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.007513, allocations: 0 / 0.5537 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.007518, allocations: 3.938 kB / 0.5537 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007521, allocations: 0 / 0.5537 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.246e-05/0.007593, allocations: 113.3 kB / 0.5538 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007594, allocations: 0 / 0.5538 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.007661, allocations: 27.97 kB / 0.5538 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007662, allocations: 3.938 kB / 0.5538 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.00767, allocations: 336 / 0.5538 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007671, allocations: 0 / 0.5538 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007671, allocations: 4 kB / 0.5538 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.007958, allocations: 188.9 kB / 0.554 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.00799, allocations: 11.92 kB / 0.554 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008003, allocations: 4.188 kB / 0.554 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.008052, allocations: 24.03 kB / 0.5541 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.008069, allocations: 3.938 kB / 0.5541 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.008076, allocations: 8 kB / 0.5541 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.178e-05/0.008098, allocations: 79.27 kB / 0.5541 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.008098, allocations: 0 / 0.5541 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001434/0.008241, allocations: 31.88 kB / 0.5542 GB, free: 3.23 MB / 0.5105 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.0001269/0.008368, allocations: 137.5 kB / 0.5543 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.008558, allocations: 83.95 kB / 0.5544 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008559, allocations: 0 / 0.5544 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.008633, allocations: 43.97 kB / 0.5544 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.008738, allocations: 2.344 kB / 0.5544 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.00909, allocations: 210.4 kB / 0.5546 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.009124, allocations: 63.34 kB / 0.5547 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.009162, allocations: 16.48 kB / 0.5547 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.009163, allocations: 0 / 0.5547 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of Templates: time 0.001726/0.01089, allocations: 1.18 MB / 0.5559 GB, free: 1.449 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.6671449998393655] Failed to read output from testmodel.py, exit status != 0: 0.01487397775053978 0.022482908000000003 0.017207269 Calling exit ...