Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0007459/0.0007459, 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.001268/0.001268, 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.9209/0.9209, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.5541/0.5541, allocations: 110.2 MB / 369.4 MB, free: 12.65 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.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5473 GB, free: 8.699 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.4e-05, allocations: 5.094 kB / 0.5473 GB, free: 8.695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001597/0.001621, allocations: 0.7634 MB / 0.5481 GB, free: 7.93 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003117, allocations: 1.462 MB / 0.5495 GB, free: 6.449 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.003163, allocations: 0 / 0.5495 GB, free: 6.449 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.003195, allocations: 3.938 kB / 0.5495 GB, free: 6.445 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.003235, allocations: 7.938 kB / 0.5495 GB, free: 6.438 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.003742, allocations: 143.4 kB / 0.5497 GB, free: 6.297 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.003826, allocations: 51.89 kB / 0.5497 GB, free: 6.246 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.003871, allocations: 4 kB / 0.5497 GB, free: 6.242 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.003959, allocations: 27.97 kB / 0.5497 GB, free: 6.215 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.004011, allocations: 35.88 kB / 0.5498 GB, free: 6.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.004028, allocations: 4 kB / 0.5498 GB, free: 6.176 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.004298, allocations: 255.4 kB / 0.55 GB, free: 5.926 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.004316, allocations: 15.98 kB / 0.55 GB, free: 5.91 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.004338, allocations: 15.92 kB / 0.5501 GB, free: 5.895 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.004587, allocations: 227.4 kB / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004591, allocations: 0 / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.004592, allocations: 0 / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.004597, allocations: 0 / 0.5503 GB, free: 5.672 MB / 474.7 MB 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.0004792/0.005076, allocations: 333.7 kB / 0.5506 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.005117, allocations: 12.03 kB / 0.5506 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.005146, allocations: 34.69 kB / 0.5506 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.005394, allocations: 72.84 kB / 0.5507 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.005482, allocations: 117.7 kB / 0.5508 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.005509, allocations: 4.375 kB / 0.5508 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.005533, allocations: 12.36 kB / 0.5508 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.005778, allocations: 157.5 kB / 0.551 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005788, allocations: 192 / 0.551 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.005806, allocations: 12.12 kB / 0.551 GB, free: 4.852 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.005811, allocations: 4 kB / 0.551 GB, free: 4.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.006046, allocations: 95.89 kB / 0.5511 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.00648, allocations: 303.8 kB / 0.5514 GB, free: 4.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.006806, allocations: 154.4 kB / 0.5515 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.006915, allocations: 52.81 kB / 0.5516 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006929, allocations: 0 / 0.5516 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.006951, allocations: 38.56 kB / 0.5516 GB, free: 4.152 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.006952, allocations: 0 / 0.5516 GB, free: 4.152 MB / 474.7 MB 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.008875/0.01583, allocations: 2.687 MB / 0.5542 GB, free: 1.406 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.01587, allocations: 59.34 kB / 0.5543 GB, free: 1.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.01593, allocations: 97.84 kB / 0.5544 GB, free: 1.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.01596, allocations: 33.7 kB / 0.5544 GB, free: 1.191 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.01601, allocations: 84.08 kB / 0.5545 GB, free: 1.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.01606, allocations: 51.62 kB / 0.5546 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01616, allocations: 65.58 kB / 0.5546 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01627, allocations: 326.8 kB / 0.5549 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.01661, allocations: 183.8 kB / 0.5551 GB, free: 488 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.01695, allocations: 195.9 kB / 0.5553 GB, free: 292 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.01772, allocations: 399.5 kB / 0.5557 GB, free: 15.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01772, allocations: 0 / 0.5557 GB, free: 15.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008754/0.0186, allocations: 477.1 kB / 0.5561 GB, free: 15.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.01862, allocations: 4 kB / 0.5561 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01863, allocations: 4 kB / 0.5561 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.01866, allocations: 0 / 0.5561 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.01914, allocations: 103.8 kB / 0.5562 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01915, allocations: 0 / 0.5562 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.0194, allocations: 51.88 kB / 0.5563 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.01943, allocations: 31.86 kB / 0.5563 GB, free: 15.23 MB / 490.7 MB 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.000122/0.01956, allocations: 113.8 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.01961, allocations: 4.094 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.01965, allocations: 20.06 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01966, allocations: 0 / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01966, allocations: 0 / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01967, allocations: 11.92 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.021, allocations: 0.9837 MB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.021, allocations: 0 / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.02137, allocations: 103.8 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02137, allocations: 4 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.02141, allocations: 27.92 kB / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.02141, allocations: 11.81 kB / 0.5576 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02142, allocations: 0 / 0.5576 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.02293, allocations: 0.784 MB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.02304, allocations: 43.92 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.02307, allocations: 4 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.02336, allocations: 51.94 kB / 0.5584 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.02342, allocations: 23.92 kB / 0.5584 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.02346, allocations: 23.94 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.02349, allocations: 87.27 kB / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02349, allocations: 0 / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.02377, allocations: 55.94 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB 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.001598/0.02537, allocations: 1.337 MB / 0.5599 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.02619, allocations: 423.5 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02619, allocations: 0 / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.02657, allocations: 219.7 kB / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.0269, allocations: 23.86 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.0318, allocations: 2.939 MB / 0.5634 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.176e-05/0.03188, allocations: 87.08 kB / 0.5635 GB, free: 7.613 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.0322, allocations: 89.09 kB / 0.5636 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.03241, allocations: 72.34 kB / 0.5636 GB, free: 7.453 MB / 490.7 MB Notification: Performance of SimCode: time 1.904e-06/0.03241, allocations: 0 / 0.5636 GB, free: 7.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.05497, allocations: 5.48 MB / 0.569 GB, free: 2.152 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/6.985, allocations: 3.312 kB / 0.569 GB, free: 2.152 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.576918566599488] Failed to read output from testmodel.py, exit status != 0: 7.06701588537544 7.07626579 7.070067567 Calling exit ...