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.0008396/0.0008396, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008245/0.0008245, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9151/0.9151, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5681/0.5681, allocations: 110.2 MB / 369.4 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 4 kB / 0.5473 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.504e-05, allocations: 10.16 kB / 0.5473 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001759/0.001794, allocations: 0.5996 MB / 0.5479 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.003402, allocations: 1.431 MB / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.003429, allocations: 0 / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.003445, allocations: 0 / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.003471, allocations: 3.938 kB / 0.5493 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.003904, allocations: 143.4 kB / 0.5495 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.003972, allocations: 35.89 kB / 0.5495 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.004013, allocations: 0 / 0.5495 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.004068, allocations: 19.98 kB / 0.5495 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.004134, allocations: 23.95 kB / 0.5495 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.004152, allocations: 4 kB / 0.5495 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.004456, allocations: 243.5 kB / 0.5498 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.004473, allocations: 7.984 kB / 0.5498 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.004495, allocations: 11.92 kB / 0.5498 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.004729, allocations: 207.5 kB / 0.55 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004732, allocations: 0 / 0.55 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.004734, allocations: 0 / 0.55 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.004739, allocations: 0 / 0.55 GB, free: 7.02 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.0003861/0.005125, allocations: 297.9 kB / 0.5503 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.005163, allocations: 8.031 kB / 0.5503 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.005192, allocations: 30.75 kB / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.005565, allocations: 68.84 kB / 0.5504 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.005642, allocations: 101.8 kB / 0.5505 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.005664, allocations: 8.375 kB / 0.5505 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.005683, allocations: 4.375 kB / 0.5505 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.005852, allocations: 103.8 kB / 0.5506 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.00586, allocations: 192 / 0.5506 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005872, allocations: 4.125 kB / 0.5506 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005878, allocations: 7.938 kB / 0.5506 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.006021, allocations: 59.94 kB / 0.5507 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.006153, allocations: 140.7 kB / 0.5508 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.006484, allocations: 118.5 kB / 0.5509 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.006564, allocations: 44.98 kB / 0.5509 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.006792, allocations: 87.83 kB / 0.551 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.006812, allocations: 30.56 kB / 0.5511 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006813, allocations: 0 / 0.5511 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0006927/0.007506, allocations: 337.4 kB / 0.5514 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.007536, allocations: 55.41 kB / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.00758, allocations: 89.86 kB / 0.5515 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007594, allocations: 29.7 kB / 0.5515 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.007618, allocations: 80.14 kB / 0.5516 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.007645, allocations: 23.81 kB / 0.5516 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.00768, allocations: 25.66 kB / 0.5517 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.007751, allocations: 310.8 kB / 0.552 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.007828, allocations: 40.08 kB / 0.552 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.0079, allocations: 35.97 kB / 0.552 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.008047, allocations: 80.8 kB / 0.5521 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.008047, allocations: 0 / 0.5521 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001869/0.008234, allocations: 117.5 kB / 0.5522 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.008246, allocations: 4 kB / 0.5522 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.008251, allocations: 3.938 kB / 0.5522 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008261, allocations: 0 / 0.5522 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.008328, allocations: 19.98 kB / 0.5523 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.008332, allocations: 4 kB / 0.5523 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.008375, allocations: 19.97 kB / 0.5523 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.008384, allocations: 7.984 kB / 0.5523 GB, free: 4.441 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.372e-05/0.008438, allocations: 109.8 kB / 0.5524 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.008447, allocations: 4 kB / 0.5524 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.008693, allocations: 141.5 kB / 0.5525 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008695, allocations: 0 / 0.5525 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0087, allocations: 4.062 kB / 0.5525 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008703, allocations: 0 / 0.5525 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.355e-05/0.008787, allocations: 136.8 kB / 0.5527 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008788, allocations: 0 / 0.5527 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.008858, allocations: 19.98 kB / 0.5527 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.00886, allocations: 7.938 kB / 0.5527 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.00887, allocations: 7.938 kB / 0.5527 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008872, allocations: 0 / 0.5527 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.008873, allocations: 3.984 kB / 0.5527 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.00917, allocations: 185 kB / 0.5529 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.009206, allocations: 11.97 kB / 0.5529 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.009218, allocations: 3.938 kB / 0.5529 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.009267, allocations: 16.05 kB / 0.5529 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.009289, allocations: 7.984 kB / 0.5529 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.009295, allocations: 4 kB / 0.5529 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.113e-05/0.009316, allocations: 75.28 kB / 0.553 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.009316, allocations: 4 kB / 0.553 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001577/0.009474, allocations: 35.8 kB / 0.553 GB, free: 3.602 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.0005183/0.009993, allocations: 0.7465 MB / 0.5538 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01019, allocations: 83.92 kB / 0.5538 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01019, allocations: 4 kB / 0.5538 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.01027, allocations: 43.95 kB / 0.5539 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.01039, allocations: 10.19 kB / 0.5539 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01153, allocations: 1.36 MB / 0.5552 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.01157, allocations: 63.3 kB / 0.5553 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.89e-05/0.01163, allocations: 19.98 kB / 0.5553 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.01168, allocations: 16.5 kB / 0.5553 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/0.01168, allocations: 0 / 0.5553 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.02784, allocations: 2.771 MB / 0.558 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.866, allocations: 9.047 kB / 0.558 GB, free: 14.5 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.572136214002967] Failed to read output from testmodel.py, exit status != 0: 6.948039460927248 6.95703024 6.950600583 Calling exit ...