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.0007935/0.0007935, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007515/0.0007515, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8353/0.8353, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001374/0.001374, allocations: 230.9 kB / 260.2 MB, free: 13.03 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.687/0.687, allocations: 138.4 MB / 455 MB, free: 29.99 MB / 410.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 1.212e-06/1.212e-06, allocations: 0 / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.674e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001112/0.001129, allocations: 0.7807 MB / 0.6483 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2378/0.2389, allocations: 1.457 MB / 0.6498 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.239, allocations: 0 / 0.6498 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.239, allocations: 4.547 kB / 0.6498 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.239, allocations: 1.672 kB / 0.6498 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2395, allocations: 150.2 kB / 0.6499 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.2396, allocations: 53.86 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.2396, allocations: 3.297 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.2397, allocations: 38 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.2397, allocations: 26.77 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2398, allocations: 4.031 kB / 0.65 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2401, allocations: 248.9 kB / 0.6503 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2401, allocations: 19.77 kB / 0.6503 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2401, allocations: 13.44 kB / 0.6503 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.2404, allocations: 228.7 kB / 0.6505 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2404, allocations: 0.9062 kB / 0.6505 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2404, allocations: 0 / 0.6505 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2404, allocations: 1.375 kB / 0.6505 GB, free: 56.11 MB / 0.5573 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.0004504/0.2409, allocations: 325.9 kB / 0.6508 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2409, allocations: 10.09 kB / 0.6509 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.2412, allocations: 70.72 kB / 0.6509 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.2413, allocations: 118 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.2413, allocations: 7.281 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2414, allocations: 8.844 kB / 0.651 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.2416, allocations: 157.6 kB / 0.6512 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2416, allocations: 1.031 kB / 0.6512 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2416, allocations: 5 kB / 0.6512 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2416, allocations: 6.469 kB / 0.6512 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.2419, allocations: 103.3 kB / 0.6513 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.2423, allocations: 265.8 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.2426, allocations: 155.4 kB / 0.6517 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2427, allocations: 57.16 kB / 0.6518 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2428, allocations: 0 / 0.6518 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2428, allocations: 33.73 kB / 0.6518 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2428, allocations: 0.6562 kB / 0.6518 GB, free: 55.3 MB / 0.5573 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.009018/0.2518, allocations: 2.691 MB / 0.6544 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2518, allocations: 55.12 kB / 0.6545 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.2519, allocations: 100.5 kB / 0.6546 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.2519, allocations: 27.45 kB / 0.6546 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.2519, allocations: 94.73 kB / 0.6547 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.252, allocations: 39.95 kB / 0.6547 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2521, allocations: 69.22 kB / 0.6548 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.2521, allocations: 327.3 kB / 0.6551 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.2525, allocations: 194.7 kB / 0.6553 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.2529, allocations: 193.4 kB / 0.6555 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.2536, allocations: 392.5 kB / 0.6558 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2536, allocations: 0 / 0.6558 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008844/0.2545, allocations: 481 kB / 0.6563 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2545, allocations: 9.5 kB / 0.6563 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2545, allocations: 1.094 kB / 0.6563 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2545, allocations: 0 / 0.6563 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.255, allocations: 108.7 kB / 0.6564 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.255, allocations: 0.7969 kB / 0.6564 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2552, allocations: 46 kB / 0.6565 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.2553, allocations: 31.2 kB / 0.6565 GB, free: 53.87 MB / 0.5573 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.0001195/0.2554, allocations: 121.8 kB / 0.6566 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.2554, allocations: 7.672 kB / 0.6566 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.2555, allocations: 13.2 kB / 0.6566 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2555, allocations: 2.219 kB / 0.6566 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2555, allocations: 0.7031 kB / 0.6566 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2555, allocations: 5.266 kB / 0.6566 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2568, allocations: 0.9585 MB / 0.6576 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2568, allocations: 0 / 0.6576 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.2572, allocations: 110.6 kB / 0.6577 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2572, allocations: 0 / 0.6577 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.2572, allocations: 27.58 kB / 0.6577 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2572, allocations: 0 / 0.6577 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2572, allocations: 1.875 kB / 0.6577 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2586, allocations: 0.7895 MB / 0.6585 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2587, allocations: 39.52 kB / 0.6585 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2587, allocations: 6.766 kB / 0.6585 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.259, allocations: 48.06 kB / 0.6586 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.2591, allocations: 25.73 kB / 0.6586 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.2591, allocations: 26.8 kB / 0.6586 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.2592, allocations: 88.02 kB / 0.6587 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2592, allocations: 0 / 0.6587 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003057/0.2595, allocations: 52.8 kB / 0.6588 GB, free: 52.71 MB / 0.5573 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.0001837/0.2596, allocations: 116.6 kB / 0.6589 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008307/0.2605, allocations: 417.7 kB / 0.6593 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2605, allocations: 0 / 0.6593 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.2609, allocations: 222.2 kB / 0.6595 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2612, allocations: 15.09 kB / 0.6595 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2633, allocations: 0.7744 MB / 0.6602 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.2634, allocations: 81.97 kB / 0.6603 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.2636, allocations: 77.36 kB / 0.6604 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.432e-06/0.2636, allocations: 0 / 0.6604 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.004628/0.2683, allocations: 3.817 MB / 0.6641 GB, free: 51.95 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.360824078321457] Failed to read output from testmodel.py, exit status != 0: 0.27540104929357767 0.282941322 0.040714042000000006 Calling exit ...