Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004933/0.004933, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001153/0.001153, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.236/1.236, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.277/1.277, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.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.001371/0.001371, allocations: 71.89 kB / 0.7258 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4936, allocations: 104.7 MB / 0.8281 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00195/0.4955, allocations: 0.6349 MB / 0.8287 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.4977, allocations: 1.5 MB / 0.8302 GB, free: 424 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.4978, allocations: 0 / 0.8302 GB, free: 424 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.4979, allocations: 0 / 0.8302 GB, free: 424 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.4979, allocations: 11.92 kB / 0.8302 GB, free: 412 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.4984, allocations: 123.5 kB / 0.8303 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.4985, allocations: 23.92 kB / 0.8303 GB, free: 264 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.4986, allocations: 4 kB / 0.8303 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.4986, allocations: 19.92 kB / 0.8303 GB, free: 240 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.4987, allocations: 15.92 kB / 0.8304 GB, free: 224 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4987, allocations: 8 kB / 0.8304 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.4993, allocations: 319.4 kB / 0.8307 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.4993, allocations: 7.922 kB / 0.8307 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.4994, allocations: 15.88 kB / 0.8307 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.4998, allocations: 195 kB / 0.8309 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4998, allocations: 0 / 0.8309 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4998, allocations: 0 / 0.8309 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4999, allocations: 0 / 0.8309 GB, free: 15.69 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006545/0.5005, allocations: 377.7 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5006, allocations: 8.031 kB / 0.8312 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.5009, allocations: 64.77 kB / 0.8313 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.5011, allocations: 168.3 kB / 0.8315 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5011, allocations: 4.375 kB / 0.8315 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.5012, allocations: 4.375 kB / 0.8315 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.5014, allocations: 73.95 kB / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5014, allocations: 0 / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5015, allocations: 4 kB / 0.8316 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5015, allocations: 0 / 0.8316 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.5018, allocations: 75.84 kB / 0.8316 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.502, allocations: 173.6 kB / 0.8318 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.5025, allocations: 122.5 kB / 0.8319 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.5027, allocations: 44.94 kB / 0.8319 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5027, allocations: 4 kB / 0.832 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5027, allocations: 34.5 kB / 0.832 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.5027, allocations: 0 / 0.832 GB, free: 14.39 MB / 0.6387 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=9): time 0.003688/0.5064, allocations: 0.7822 MB / 0.8327 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5065, allocations: 59.41 kB / 0.8328 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5066, allocations: 113.8 kB / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5066, allocations: 25.7 kB / 0.8329 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.5067, allocations: 88.12 kB / 0.833 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.5067, allocations: 27.56 kB / 0.833 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.5068, allocations: 29.64 kB / 0.8331 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5069, allocations: 322.8 kB / 0.8334 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.5073, allocations: 104 kB / 0.8335 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.5077, allocations: 95.91 kB / 0.8336 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.5084, allocations: 192.7 kB / 0.8338 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5084, allocations: 0 / 0.8338 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007827/0.5092, allocations: 241.4 kB / 0.834 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5092, allocations: 7.984 kB / 0.834 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5092, allocations: 0 / 0.834 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5093, allocations: 4.375 kB / 0.834 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.5095, allocations: 51.94 kB / 0.8341 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.5096, allocations: 4.312 kB / 0.8341 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5098, allocations: 35.95 kB / 0.8341 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5098, allocations: 11.94 kB / 0.8341 GB, free: 12.16 MB / 0.6387 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 (9): * Single equations (assignments): 9 * 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.145e-05/0.5099, allocations: 114.8 kB / 0.8342 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.5099, allocations: 7.906 kB / 0.8342 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.51, allocations: 12.38 kB / 0.8342 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.51, allocations: 11.97 kB / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.51, allocations: 0 / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.51, allocations: 0 / 0.8342 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.5115, allocations: 0.5974 MB / 0.8348 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5115, allocations: 0 / 0.8348 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.5118, allocations: 59.94 kB / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5118, allocations: 0 / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5118, allocations: 4 kB / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5118, allocations: 0 / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5118, allocations: 4 kB / 0.8349 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.5126, allocations: 340.9 kB / 0.8352 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.5127, allocations: 85.02 kB / 0.8353 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.5127, allocations: 7.984 kB / 0.8353 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.513, allocations: 35.97 kB / 0.8353 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.513, allocations: 11.92 kB / 0.8353 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.513, allocations: 7.984 kB / 0.8354 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5e-05/0.5131, allocations: 103.2 kB / 0.8355 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5131, allocations: 0 / 0.8355 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000277/0.5134, allocations: 36 kB / 0.8355 GB, free: 10.63 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002072/0.5136, allocations: 127.2 kB / 0.8356 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007996/0.5144, allocations: 207.8 kB / 0.8358 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5144, allocations: 4 kB / 0.8358 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.5148, allocations: 111.9 kB / 0.8359 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.515, allocations: 7.938 kB / 0.8359 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5164, allocations: 402.3 kB / 0.8363 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.5166, allocations: 0.6964 MB / 0.837 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.5167, allocations: 20.61 kB / 0.837 GB, free: 9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.5168, allocations: 19.42 kB / 0.837 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.8e-07/0.5168, allocations: 0 / 0.837 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.003992/0.5208, allocations: 1.663 MB / 0.8387 GB, free: 7.32 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)