Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007063/0.0007064, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004109/0.004109, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 0.5105 GB, free: 4.652 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004836, allocations: 16 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3702, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008764/0.3712, allocations: 0.5201 MB / 0.7292 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3729, allocations: 1.529 MB / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.3729, allocations: 0 / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.3729, allocations: 0 / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.211e-05/0.3729, allocations: 0 / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.3733, allocations: 115.7 kB / 0.7308 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.3734, allocations: 47.91 kB / 0.7309 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.3734, allocations: 4 kB / 0.7309 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.3735, allocations: 27.91 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.3736, allocations: 27.84 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3736, allocations: 8 kB / 0.731 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.374, allocations: 323.3 kB / 0.7313 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.374, allocations: 7.984 kB / 0.7313 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.374, allocations: 53.56 kB / 0.7313 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3743, allocations: 213.5 kB / 0.7315 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3743, allocations: 0 / 0.7315 GB, free: 8.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3743, allocations: 0 / 0.7315 GB, free: 8.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.3743, allocations: 0 / 0.7315 GB, free: 8.398 MB / 0.545 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.0005324/0.3749, allocations: 387.4 kB / 0.7319 GB, free: 7.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3749, allocations: 12.03 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.3753, allocations: 84.75 kB / 0.732 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.3754, allocations: 172.2 kB / 0.7322 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3755, allocations: 8.375 kB / 0.7322 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3755, allocations: 12.28 kB / 0.7322 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3759, allocations: 125.9 kB / 0.7323 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3759, allocations: 4 kB / 0.7323 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3759, allocations: 0 / 0.7323 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3759, allocations: 4 kB / 0.7323 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.3764, allocations: 119.9 kB / 0.7324 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3769, allocations: 344.6 kB / 0.7327 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.3775, allocations: 178.4 kB / 0.7329 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.3778, allocations: 64.81 kB / 0.733 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3778, allocations: 12.08 kB / 0.733 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3778, allocations: 38.56 kB / 0.733 GB, free: 6.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3778, allocations: 0 / 0.733 GB, free: 6.703 MB / 0.545 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.01746/0.3953, allocations: 3.177 MB / 0.7361 GB, free: 3.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3953, allocations: 55.34 kB / 0.7362 GB, free: 3.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.3954, allocations: 101.8 kB / 0.7363 GB, free: 3.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.3954, allocations: 33.73 kB / 0.7363 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.3955, allocations: 91.98 kB / 0.7364 GB, free: 3.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.3955, allocations: 39.39 kB / 0.7364 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3956, allocations: 17.72 kB / 0.7365 GB, free: 3.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.3957, allocations: 318.8 kB / 0.7368 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.3963, allocations: 215.8 kB / 0.737 GB, free: 2.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.3969, allocations: 222.7 kB / 0.7372 GB, free: 2.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3982, allocations: 444.5 kB / 0.7376 GB, free: 1.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3982, allocations: 0 / 0.7376 GB, free: 1.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001407/0.3996, allocations: 0.5168 MB / 0.7381 GB, free: 1.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3996, allocations: 8 kB / 0.7381 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3996, allocations: 0 / 0.7381 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3997, allocations: 3.984 kB / 0.7381 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.4004, allocations: 119.8 kB / 0.7382 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4005, allocations: 3.938 kB / 0.7382 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.4011, allocations: 63.88 kB / 0.7383 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.4011, allocations: 27.92 kB / 0.7383 GB, free: 1.129 MB / 0.545 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.0001198/0.4012, allocations: 113.8 kB / 0.7384 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.4013, allocations: 4 kB / 0.7384 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.4013, allocations: 15.97 kB / 0.7384 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4014, allocations: 0 / 0.7384 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4014, allocations: 3.938 kB / 0.7384 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4014, allocations: 4 kB / 0.7385 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4033, allocations: 1.105 MB / 0.7395 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4034, allocations: 4 kB / 0.7395 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/0.4041, allocations: 115.8 kB / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4041, allocations: 3.938 kB / 0.7397 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.4042, allocations: 27.92 kB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4042, allocations: 0 / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4042, allocations: 1.016 kB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.4064, allocations: 0.87 MB / 0.7405 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4065, allocations: 120.9 kB / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.4066, allocations: 3.984 kB / 0.7406 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.4072, allocations: 64 kB / 0.7407 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.4073, allocations: 23.92 kB / 0.7407 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.4073, allocations: 23.94 kB / 0.7408 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.4074, allocations: 91.27 kB / 0.7408 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4074, allocations: 0 / 0.7408 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003228/0.4077, allocations: 52 kB / 0.7409 GB, free: 14.34 MB / 0.5606 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.0001568/0.4079, allocations: 107.2 kB / 0.741 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.4092, allocations: 478.7 kB / 0.7414 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4092, allocations: 0 / 0.7414 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.4099, allocations: 251.7 kB / 0.7417 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4102, allocations: 19.95 kB / 0.7417 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.4141, allocations: 0.8696 MB / 0.7426 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.4143, allocations: 0.6926 MB / 0.7432 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005901/0.4149, allocations: 92.98 kB / 0.7433 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4152, allocations: 59.3 kB / 0.7434 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.4152, allocations: 0 / 0.7434 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.005026/0.4202, allocations: 3.321 MB / 0.7466 GB, free: 8.402 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: