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.001026/0.001026, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.0008392/0.0008392, allocations: 162 kB / 22.56 MB, free: 1.965 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.9155/0.9155, allocations: 177.1 MB / 202.9 MB, free: 5.758 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.5558/0.5558, allocations: 110.2 MB / 369.6 MB, free: 12.6 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 2.255e-06/2.255e-06, allocations: 0 / 0.5475 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.244e-05, allocations: 5.094 kB / 0.5475 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002433/0.002466, allocations: 0.7841 MB / 0.5483 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.004574, allocations: 1.451 MB / 0.5497 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.004628, allocations: 4 kB / 0.5497 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.004666, allocations: 7.922 kB / 0.5497 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.004723, allocations: 0 / 0.5497 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.005408, allocations: 151.3 kB / 0.5499 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.00553, allocations: 51.88 kB / 0.5499 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.005594, allocations: 4 kB / 0.5499 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.005735, allocations: 39.89 kB / 0.55 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.005794, allocations: 19.97 kB / 0.55 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.005824, allocations: 4 kB / 0.55 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.006132, allocations: 251.5 kB / 0.5502 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.006155, allocations: 19.91 kB / 0.5503 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.006187, allocations: 15.97 kB / 0.5503 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.006512, allocations: 227.3 kB / 0.5505 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.006519, allocations: 4 kB / 0.5505 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.786e-06/0.006521, allocations: 4 kB / 0.5505 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.00653, allocations: 0 / 0.5505 GB, free: 6.637 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000628/0.007158, allocations: 325.8 kB / 0.5508 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.007225, allocations: 16.02 kB / 0.5508 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.007269, allocations: 30.75 kB / 0.5508 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.007553, allocations: 76.84 kB / 0.5509 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.007662, allocations: 113.6 kB / 0.551 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.007698, allocations: 8.375 kB / 0.551 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.00773, allocations: 8.375 kB / 0.551 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.00802, allocations: 157.6 kB / 0.5512 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.008035, allocations: 8.172 kB / 0.5512 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.008051, allocations: 8.125 kB / 0.5512 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008058, allocations: 0 / 0.5512 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.008312, allocations: 99.89 kB / 0.5513 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.008841, allocations: 299.8 kB / 0.5516 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.009203, allocations: 154.4 kB / 0.5517 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.009319, allocations: 48.81 kB / 0.5518 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.009339, allocations: 11.98 kB / 0.5518 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.009362, allocations: 38.5 kB / 0.5518 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.009363, allocations: 0 / 0.5518 GB, free: 5.117 MB / 0.5105 GB 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.00916/0.01852, allocations: 2.693 MB / 0.5545 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.01856, allocations: 55.41 kB / 0.5545 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.01864, allocations: 97.86 kB / 0.5546 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.01868, allocations: 29.7 kB / 0.5546 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.01873, allocations: 92.02 kB / 0.5547 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.01878, allocations: 35.7 kB / 0.5548 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01889, allocations: 69.58 kB / 0.5548 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.01899, allocations: 326.8 kB / 0.5551 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.01937, allocations: 187.8 kB / 0.5553 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.02003, allocations: 195.8 kB / 0.5555 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.02077, allocations: 392.7 kB / 0.5559 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02078, allocations: 0 / 0.5559 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000893/0.02167, allocations: 481 kB / 0.5563 GB, free: 404 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02169, allocations: 7.984 kB / 0.5563 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.0217, allocations: 0 / 0.5563 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.02171, allocations: 4 kB / 0.5563 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.02211, allocations: 107.8 kB / 0.5564 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.02212, allocations: 0 / 0.5564 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.02239, allocations: 55.88 kB / 0.5565 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.02242, allocations: 19.94 kB / 0.5565 GB, free: 208 kB / 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 (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.0001245/0.02255, allocations: 117.8 kB / 0.5566 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.0226, allocations: 11.94 kB / 0.5566 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.02265, allocations: 12.12 kB / 0.5567 GB, free: 52 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02265, allocations: 4 kB / 0.5567 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.02266, allocations: 0 / 0.5567 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02266, allocations: 4 kB / 0.5567 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.02405, allocations: 0.9799 MB / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.02405, allocations: 0 / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.02443, allocations: 115.7 kB / 0.5577 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.02443, allocations: 0 / 0.5577 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.02447, allocations: 23.94 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02447, allocations: 3.938 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.02448, allocations: 4 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.02582, allocations: 0.784 MB / 0.5585 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.02592, allocations: 40.08 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.02597, allocations: 4 kB / 0.5586 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.02626, allocations: 51.94 kB / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.02633, allocations: 31.91 kB / 0.5586 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.02637, allocations: 27.86 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.0264, allocations: 87.22 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.0264, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002605/0.02666, allocations: 55.94 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB 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.001645/0.02831, allocations: 1.325 MB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008409/0.02915, allocations: 425.8 kB / 0.5605 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02915, allocations: 4 kB / 0.5605 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.02954, allocations: 219.7 kB / 0.5607 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.02983, allocations: 16.53 kB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.0349, allocations: 2.937 MB / 0.5636 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.03496, allocations: 75.33 kB / 0.5637 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.03529, allocations: 96.72 kB / 0.5638 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.0355, allocations: 60.38 kB / 0.5638 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.0355, allocations: 0 / 0.5638 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.05802, allocations: 5.487 MB / 0.5692 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.093, allocations: 0 / 0.5692 GB, free: 3.133 MB / 0.5261 GB " [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.792308731935918] Failed to read output from testmodel.py, exit status != 0: 7.178481932729483 7.187808067 7.179407544 Calling exit ...