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.0007399/0.0007399, 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.0007325/0.0007325, 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.8393/0.8393, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.5055/0.5055, allocations: 110.2 MB / 370.2 MB, free: 12.63 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5486 GB, free: 8.195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.34e-05, allocations: 9.094 kB / 0.5486 GB, free: 8.188 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001085/0.001099, allocations: 0.7608 MB / 0.5493 GB, free: 7.422 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002346, allocations: 1.458 MB / 0.5507 GB, free: 5.945 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.002373, allocations: 0 / 0.5507 GB, free: 5.945 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.002399, allocations: 3.938 kB / 0.5507 GB, free: 5.941 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.002432, allocations: 7.875 kB / 0.5508 GB, free: 5.934 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.002771, allocations: 151.4 kB / 0.5509 GB, free: 5.785 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.00284, allocations: 43.89 kB / 0.5509 GB, free: 5.742 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.002872, allocations: 11.94 kB / 0.551 GB, free: 5.73 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.002942, allocations: 31.97 kB / 0.551 GB, free: 5.699 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.002984, allocations: 31.88 kB / 0.551 GB, free: 5.668 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.003002, allocations: 4 kB / 0.551 GB, free: 5.664 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.003229, allocations: 251.5 kB / 0.5513 GB, free: 5.418 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.003246, allocations: 23.91 kB / 0.5513 GB, free: 5.395 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.003266, allocations: 11.94 kB / 0.5513 GB, free: 5.383 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.003493, allocations: 231.4 kB / 0.5515 GB, free: 5.156 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003495, allocations: 0 / 0.5515 GB, free: 5.156 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003495, allocations: 0 / 0.5515 GB, free: 5.156 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003499, allocations: 0 / 0.5515 GB, free: 5.156 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.0004568/0.003956, allocations: 325.8 kB / 0.5518 GB, free: 4.809 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.003985, allocations: 8.625 kB / 0.5518 GB, free: 4.801 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.004203, allocations: 72.8 kB / 0.5519 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.874e-05/0.004272, allocations: 117.8 kB / 0.552 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.004293, allocations: 4.375 kB / 0.552 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.004316, allocations: 8.375 kB / 0.552 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.004526, allocations: 157.6 kB / 0.5522 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.004536, allocations: 192 / 0.5522 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.004548, allocations: 4.375 kB / 0.5522 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.004552, allocations: 11.94 kB / 0.5522 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.004773, allocations: 99.83 kB / 0.5523 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.005109, allocations: 268.3 kB / 0.5525 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.005422, allocations: 166.3 kB / 0.5527 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.005529, allocations: 56.81 kB / 0.5528 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.005541, allocations: 0 / 0.5528 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.005562, allocations: 38.55 kB / 0.5528 GB, free: 3.723 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.005563, allocations: 3.984 kB / 0.5528 GB, free: 3.719 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.008316/0.01388, allocations: 2.682 MB / 0.5554 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.01391, allocations: 51.41 kB / 0.5555 GB, free: 0.918 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.01395, allocations: 101.8 kB / 0.5556 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.01398, allocations: 29.7 kB / 0.5556 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.01401, allocations: 92.12 kB / 0.5557 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.01406, allocations: 39.64 kB / 0.5557 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.01416, allocations: 69.58 kB / 0.5558 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.01422, allocations: 322.8 kB / 0.5561 GB, free: 248 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.01456, allocations: 191.8 kB / 0.5563 GB, free: 56 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.01491, allocations: 199.9 kB / 0.5565 GB, free: 15.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.01561, allocations: 396.4 kB / 0.5568 GB, free: 15.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01561, allocations: 0 / 0.5568 GB, free: 15.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001066/0.01667, allocations: 477.2 kB / 0.5573 GB, free: 15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01669, allocations: 8 kB / 0.5573 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01669, allocations: 4.078 kB / 0.5573 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.0167, allocations: 3.938 kB / 0.5573 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.01705, allocations: 107.7 kB / 0.5574 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01706, allocations: 0 / 0.5574 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.01731, allocations: 43.94 kB / 0.5575 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.01734, allocations: 23.94 kB / 0.5575 GB, free: 14.81 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 9.616e-05/0.01743, allocations: 121.8 kB / 0.5576 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.01748, allocations: 8 kB / 0.5576 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.01751, allocations: 12.11 kB / 0.5576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01751, allocations: 0 / 0.5576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01752, allocations: 4 kB / 0.5576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01752, allocations: 0 / 0.5576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.0187, allocations: 0.9646 MB / 0.5586 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01871, allocations: 0 / 0.5586 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.01905, allocations: 107.8 kB / 0.5587 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01905, allocations: 0 / 0.5587 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.01908, allocations: 23.92 kB / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01908, allocations: 0 / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01908, allocations: 4 kB / 0.5587 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.02031, allocations: 0.7996 MB / 0.5595 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.02039, allocations: 39.92 kB / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.02042, allocations: 0 / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.0207, allocations: 52 kB / 0.5596 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.02075, allocations: 27.92 kB / 0.5596 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.02079, allocations: 23.88 kB / 0.5596 GB, free: 12.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.02081, allocations: 87.27 kB / 0.5597 GB, free: 12.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02081, allocations: 0 / 0.5597 GB, free: 12.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.02103, allocations: 55.94 kB / 0.5597 GB, free: 12.38 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.0001304/0.02116, allocations: 115.2 kB / 0.5599 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.02191, allocations: 427.5 kB / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02191, allocations: 0 / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.02228, allocations: 227.6 kB / 0.5605 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.02249, allocations: 8 kB / 0.5605 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.02439, allocations: 0.772 MB / 0.5612 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.02443, allocations: 83.02 kB / 0.5613 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.02468, allocations: 84.3 kB / 0.5614 GB, free: 10.61 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02468, allocations: 0 / 0.5614 GB, free: 10.61 MB / 490.7 MB Notification: Performance of Templates: time 0.003506/0.02819, allocations: 3.813 MB / 0.5651 GB, free: 6.793 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.752041040919721] Failed to read output from testmodel.py, exit status != 0: 0.03240244369953871 0.039937722 0.034666743 Calling exit ...