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.001178/0.001178, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001296/0.001296, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.595/1.595, allocations: 251.9 MB / 0.51 GB, free: 4.836 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.0005732/0.0005736, allocations: 16 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6317/0.6323, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0009026/0.6333, allocations: 369.2 kB / 0.7283 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.6354, allocations: 1.438 MB / 0.7297 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.6355, allocations: 0 / 0.7297 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.6355, allocations: 0 / 0.7297 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.6356, allocations: 4 kB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.636, allocations: 95.62 kB / 0.7298 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.6361, allocations: 23.91 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.935e-05/0.6362, allocations: 0 / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.6362, allocations: 15.98 kB / 0.7299 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.6363, allocations: 15.92 kB / 0.7299 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.6364, allocations: 4 kB / 0.7299 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.6369, allocations: 315.4 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.6369, allocations: 3.984 kB / 0.7302 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.6369, allocations: 33.64 kB / 0.7302 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.6372, allocations: 133.8 kB / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6372, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6372, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6372, allocations: 8 kB / 0.7304 GB, free: 9.027 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006104/0.6379, allocations: 371.1 kB / 0.7307 GB, free: 8.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6379, allocations: 8.031 kB / 0.7307 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.6384, allocations: 71.92 kB / 0.7308 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.6386, allocations: 179 kB / 0.731 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.6386, allocations: 7.984 kB / 0.731 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.6386, allocations: 7.906 kB / 0.731 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.6389, allocations: 77.64 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6389, allocations: 3.938 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.639, allocations: 11.92 kB / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.639, allocations: 0 / 0.7311 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.6393, allocations: 83.92 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.6396, allocations: 173.7 kB / 0.7313 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.6402, allocations: 138.5 kB / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.6402, allocations: 4 kB / 0.7314 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6403, allocations: 34.69 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6403, allocations: 4 kB / 0.7315 GB, free: 7.715 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=9): time 0.004212/0.6445, allocations: 0.9566 MB / 0.7324 GB, free: 6.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6446, allocations: 55.41 kB / 0.7325 GB, free: 6.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6447, allocations: 117.8 kB / 0.7326 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.6447, allocations: 25.7 kB / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.6448, allocations: 88.14 kB / 0.7327 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.6448, allocations: 27.55 kB / 0.7327 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.6448, allocations: 4 kB / 0.7327 GB, free: 6.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.645, allocations: 314.8 kB / 0.733 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.6455, allocations: 123.8 kB / 0.7331 GB, free: 5.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.6459, allocations: 115.9 kB / 0.7332 GB, free: 5.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.6463, allocations: 115.9 kB / 0.7334 GB, free: 5.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6463, allocations: 0 / 0.7334 GB, free: 5.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009036/0.6472, allocations: 285.3 kB / 0.7336 GB, free: 5.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6473, allocations: 8 kB / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6473, allocations: 0.75 kB / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6473, allocations: 0 / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.6476, allocations: 63.94 kB / 0.7337 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6477, allocations: 4 kB / 0.7337 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.6479, allocations: 44.33 kB / 0.7337 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.6479, allocations: 11.94 kB / 0.7338 GB, free: 5.332 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/0.648, allocations: 113.8 kB / 0.7339 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.6481, allocations: 4 kB / 0.7339 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.6481, allocations: 20.31 kB / 0.7339 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6481, allocations: 3.938 kB / 0.7339 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6481, allocations: 0 / 0.7339 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6481, allocations: 7.984 kB / 0.7339 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6499, allocations: 0.6598 MB / 0.7345 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6499, allocations: 0 / 0.7345 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.6502, allocations: 64 kB / 0.7346 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.6502, allocations: 4 kB / 0.7346 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.6502, allocations: 7.938 kB / 0.7346 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6502, allocations: 4 kB / 0.7346 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6502, allocations: 7.938 kB / 0.7346 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.6512, allocations: 408.3 kB / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.6513, allocations: 81.11 kB / 0.7351 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.6513, allocations: 4 kB / 0.7351 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.6516, allocations: 43.95 kB / 0.7351 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.6516, allocations: 11.97 kB / 0.7352 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.6517, allocations: 11.98 kB / 0.7352 GB, free: 3.766 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.153e-05/0.6517, allocations: 91.27 kB / 0.7352 GB, free: 3.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6517, allocations: 0 / 0.7352 GB, free: 3.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003132/0.6521, allocations: 36 kB / 0.7353 GB, free: 3.641 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002476/0.6523, allocations: 127.2 kB / 0.7354 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009248/0.6532, allocations: 251.7 kB / 0.7356 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6533, allocations: 0 / 0.7356 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.6537, allocations: 132 kB / 0.7358 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.6539, allocations: 6.766 kB / 0.7358 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6555, allocations: 480.2 kB / 0.7362 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.6558, allocations: 0.6887 MB / 0.7369 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.656, allocations: 24.89 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.656, allocations: 23.41 kB / 0.737 GB, free: 1.863 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.656, allocations: 0 / 0.737 GB, free: 1.863 MB / 0.545 GB Notification: Performance of Templates: time 0.004412/0.6605, allocations: 1.539 MB / 0.7385 GB, free: 332 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: