Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001197/0.001197, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001497/0.001497, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001728/0.001728, allocations: 241.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7638/0.7638, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.127e-05, allocations: 4.953 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002954/0.002986, allocations: 0.847 MB / 463.3 MB, free: 384 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.005567, allocations: 1.508 MB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.005621, allocations: 1.344 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.005657, allocations: 4.734 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.005722, allocations: 3.938 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.006486, allocations: 148.9 kB / 464.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.006607, allocations: 54.2 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.006651, allocations: 2.375 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.00678, allocations: 43.67 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.006852, allocations: 22 kB / 465.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.006877, allocations: 3.469 kB / 465.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.00745, allocations: 257.1 kB / 465.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.007483, allocations: 18.02 kB / 465.3 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.007515, allocations: 17.36 kB / 465.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.00797, allocations: 220.6 kB / 465.6 MB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.007976, allocations: 0 / 465.6 MB, free: 15.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007977, allocations: 1.875 kB / 465.6 MB, free: 15.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.007982, allocations: 1.094 kB / 465.6 MB, free: 15.08 MB / 426.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.000577/0.008559, allocations: 297 kB / 465.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.008602, allocations: 11.16 kB / 465.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.008958, allocations: 63.42 kB / 465.9 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.009073, allocations: 114.7 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.009099, allocations: 5.406 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.009132, allocations: 10.66 kB / 466.1 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.00943, allocations: 149.4 kB / 466.2 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.009445, allocations: 4.828 kB / 466.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.00946, allocations: 5.531 kB / 466.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.009471, allocations: 10 kB / 466.2 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.009549, allocations: 22.81 kB / 466.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.01008, allocations: 204.2 kB / 466.4 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.01026, allocations: 67.38 kB / 466.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.01029, allocations: 14.02 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.01031, allocations: 6.875 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.01034, allocations: 36.97 kB / 466.6 MB, free: 14.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.01034, allocations: 1.594 kB / 466.6 MB, free: 14.28 MB / 426.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.01342/0.02376, allocations: 2.141 MB / 468.7 MB, free: 12.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.0238, allocations: 55.94 kB / 468.8 MB, free: 12.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.02388, allocations: 106.7 kB / 468.9 MB, free: 12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.02392, allocations: 30.95 kB / 468.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.02397, allocations: 88.08 kB / 469 MB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.02404, allocations: 43.62 kB / 469 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.0242, allocations: 58.36 kB / 469.1 MB, free: 11.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.0243, allocations: 322.8 kB / 469.4 MB, free: 11.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.02449, allocations: 95.91 kB / 469.5 MB, free: 11.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.02476, allocations: 100.7 kB / 469.6 MB, free: 11.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.02519, allocations: 228.6 kB / 469.8 MB, free: 11.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.0252, allocations: 0 / 469.8 MB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005176/0.02571, allocations: 250.2 kB / 470.1 MB, free: 10.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.02573, allocations: 8.594 kB / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.02574, allocations: 0 / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.02575, allocations: 0.5 kB / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.02637, allocations: 101.3 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.02638, allocations: 0.6875 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.02673, allocations: 27.19 kB / 470.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.02679, allocations: 27.92 kB / 470.2 MB, free: 10.63 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 0.0001418/0.02693, allocations: 118.7 kB / 470.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.02702, allocations: 5.75 kB / 470.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.02707, allocations: 20.11 kB / 470.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.02707, allocations: 0 / 470.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.02707, allocations: 0 / 470.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02708, allocations: 0 / 470.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.02804, allocations: 465.6 kB / 470.8 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.02805, allocations: 3.984 kB / 470.8 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.02867, allocations: 105.6 kB / 470.9 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.02868, allocations: 0 / 470.9 MB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.02872, allocations: 15.94 kB / 470.9 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.02872, allocations: 0 / 470.9 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02872, allocations: 4.938 kB / 470.9 MB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.02932, allocations: 449.7 kB / 471.4 MB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.02941, allocations: 31.89 kB / 471.4 MB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.02945, allocations: 5 kB / 471.4 MB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.02971, allocations: 25.03 kB / 471.4 MB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.02978, allocations: 24.55 kB / 471.5 MB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.02981, allocations: 31.86 kB / 471.5 MB, free: 9.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.704e-05/0.02983, allocations: 7.703 kB / 471.5 MB, free: 9.309 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02983, allocations: 0 / 471.5 MB, free: 9.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.03008, allocations: 48 kB / 471.6 MB, free: 9.262 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.0001697/0.03025, allocations: 102.8 kB / 471.7 MB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.03058, allocations: 237.4 kB / 471.9 MB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.03058, allocations: 0 / 471.9 MB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.03073, allocations: 135.1 kB / 472 MB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.03091, allocations: 36.61 kB / 472.1 MB, free: 8.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.03244, allocations: 0.5552 MB / 472.6 MB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.03247, allocations: 60.31 kB / 472.7 MB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.03283, allocations: 94.31 kB / 472.8 MB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.0331, allocations: 107.7 kB / 472.9 MB, free: 7.988 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0331, allocations: 0 / 472.9 MB, free: 7.988 MB / 426.7 MB Notification: Performance of Templates: time 0.004728/0.03783, allocations: 3.863 MB / 476.7 MB, free: 4.215 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.81497131800279]