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.0009048/0.0009048, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0009806/0.0009806, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.9348/0.9348, allocations: 177.2 MB / 203.9 MB, free: 5.574 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.5584/0.5584, allocations: 110.2 MB / 370.6 MB, free: 12.46 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.583e-06/1.583e-06, allocations: 0.875 kB / 474.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.884e-05, allocations: 2.312 kB / 474.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001147/0.001165, allocations: 0.7736 MB / 475.3 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.002504, allocations: 1.462 MB / 476.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.002542, allocations: 0 / 476.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.002569, allocations: 3.938 kB / 476.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.00261, allocations: 1.812 kB / 476.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.003066, allocations: 152.8 kB / 476.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.003138, allocations: 55.19 kB / 476.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.003173, allocations: 6.375 kB / 476.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.003258, allocations: 31.97 kB / 477 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.003304, allocations: 27.7 kB / 477 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.003321, allocations: 6.625 kB / 477 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.003552, allocations: 253.5 kB / 477.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.003568, allocations: 9.906 kB / 477.3 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.003591, allocations: 20.69 kB / 477.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.003821, allocations: 228.5 kB / 477.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003823, allocations: 1.438 kB / 477.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003823, allocations: 0 / 477.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.003827, allocations: 0 / 477.5 MB, free: 13.41 MB / 410.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.0004273/0.004255, allocations: 331.8 kB / 477.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.00429, allocations: 8.469 kB / 477.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.004558, allocations: 78.2 kB / 477.9 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.004625, allocations: 108.7 kB / 478 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004639, allocations: 7.812 kB / 478 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.004665, allocations: 8.531 kB / 478 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.004891, allocations: 166.9 kB / 478.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.004902, allocations: 4.141 kB / 478.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.004916, allocations: 384 / 478.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004922, allocations: 6.562 kB / 478.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.005153, allocations: 104.2 kB / 478.3 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.00549, allocations: 267.2 kB / 478.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.005813, allocations: 165.6 kB / 478.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.00592, allocations: 57.92 kB / 478.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.005932, allocations: 3.25 kB / 478.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.005946, allocations: 30.56 kB / 478.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005947, allocations: 0 / 478.8 MB, free: 12.5 MB / 410.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.009174/0.01512, allocations: 2.69 MB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.01514, allocations: 52.91 kB / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.0152, allocations: 101.7 kB / 481.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.01523, allocations: 27.86 kB / 481.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.01526, allocations: 92 kB / 481.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.0153, allocations: 41.5 kB / 481.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.0154, allocations: 67.05 kB / 481.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.01566, allocations: 319.2 kB / 482.2 MB, free: 27.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.01601, allocations: 193 kB / 482.4 MB, free: 27.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.01635, allocations: 194.2 kB / 482.6 MB, free: 27.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.01709, allocations: 389.8 kB / 483 MB, free: 27.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.0171, allocations: 0 / 483 MB, free: 27.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000848/0.01794, allocations: 485.7 kB / 483.4 MB, free: 26.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01796, allocations: 6.25 kB / 483.4 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01796, allocations: 0 / 483.4 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01798, allocations: 5.375 kB / 483.4 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.01836, allocations: 102.1 kB / 483.5 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01836, allocations: 1.812 kB / 483.5 MB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.01862, allocations: 50.69 kB / 483.6 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.01866, allocations: 23.27 kB / 483.6 MB, free: 26.97 MB / 426.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.315e-05/0.01875, allocations: 121 kB / 483.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.01882, allocations: 8.516 kB / 483.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.01885, allocations: 24.72 kB / 483.8 MB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01885, allocations: 1.406 kB / 483.8 MB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01886, allocations: 1.312 kB / 483.8 MB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01886, allocations: 0 / 483.8 MB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.02, allocations: 0.9522 MB / 484.7 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.02, allocations: 1.219 kB / 484.7 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.02036, allocations: 110.7 kB / 484.8 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02036, allocations: 1.344 kB / 484.8 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.02039, allocations: 21.95 kB / 484.9 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.02039, allocations: 1.062 kB / 484.9 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02039, allocations: 0 / 484.9 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.02164, allocations: 0.7973 MB / 485.7 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.02173, allocations: 42.86 kB / 485.7 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.02177, allocations: 1.156 kB / 485.7 MB, free: 25.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.02206, allocations: 55.39 kB / 485.7 MB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.02211, allocations: 29.3 kB / 485.8 MB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.02214, allocations: 27.91 kB / 485.8 MB, free: 25.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.02217, allocations: 86.11 kB / 485.9 MB, free: 25.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02217, allocations: 0 / 485.9 MB, free: 25.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.02243, allocations: 50.53 kB / 485.9 MB, free: 25.79 MB / 426.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.0001265/0.02256, allocations: 114.1 kB / 486 MB, free: 25.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.02333, allocations: 424.2 kB / 486.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02333, allocations: 1.469 kB / 486.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.02372, allocations: 225.2 kB / 486.7 MB, free: 25.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.02396, allocations: 42.59 kB / 486.7 MB, free: 25.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.02597, allocations: 0.7487 MB / 487.5 MB, free: 25.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.02602, allocations: 80.09 kB / 487.6 MB, free: 25.24 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.02631, allocations: 91.17 kB / 487.6 MB, free: 25.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.02648, allocations: 63.17 kB / 487.7 MB, free: 25.17 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02648, allocations: 0 / 487.7 MB, free: 25.17 MB / 426.7 MB Notification: Performance of Templates: time 0.005808/0.03229, allocations: 3.693 MB / 491.4 MB, free: 24.9 MB / 426.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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.4332284554839134]