Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001037/0.001037, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001366/0.001366, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.835/1.835, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6073/0.6073, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009919/0.0009919, allocations: 16 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.43, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001059/0.4311, allocations: 285 kB / 0.5059 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000527/0.4317, allocations: 106.7 kB / 0.506 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.4317, allocations: 0 / 0.506 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.4317, allocations: 0 / 0.506 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.4318, allocations: 0 / 0.506 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.4321, allocations: 31.97 kB / 0.5061 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.4322, allocations: 4 kB / 0.5061 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.4323, allocations: 3.984 kB / 0.5061 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.738e-05/0.4323, allocations: 3.938 kB / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.4324, allocations: 7.984 kB / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4324, allocations: 0 / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.4325, allocations: 23.98 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.4325, allocations: 0 / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.4326, allocations: 29.64 kB / 0.5061 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.4327, allocations: 27.89 kB / 0.5062 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4327, allocations: 4 kB / 0.5062 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4327, allocations: 0 / 0.5062 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.4328, allocations: 0 / 0.5062 GB, free: 15.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005498/0.4333, allocations: 319.5 kB / 0.5065 GB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.4334, allocations: 15.98 kB / 0.5065 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.4335, allocations: 0.9375 kB / 0.5065 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4336, allocations: 166.4 kB / 0.5067 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4336, allocations: 384 / 0.5067 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.4336, allocations: 7.938 kB / 0.5067 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.4338, allocations: 37.69 kB / 0.5067 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4338, allocations: 0 / 0.5067 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4338, allocations: 0 / 0.5067 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4339, allocations: 0 / 0.5067 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.434, allocations: 23.91 kB / 0.5067 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.4341, allocations: 149.7 kB / 0.5069 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4343, allocations: 50.47 kB / 0.5069 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.4344, allocations: 12.92 kB / 0.5069 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.4348, allocations: 417.5 kB / 0.5073 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4349, allocations: 30.56 kB / 0.5073 GB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4349, allocations: 0 / 0.5073 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002765/0.4352, allocations: 61.61 kB / 0.5074 GB, free: 14.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4352, allocations: 55.41 kB / 0.5075 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.4353, allocations: 89.86 kB / 0.5075 GB, free: 14.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4353, allocations: 25.7 kB / 0.5076 GB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.4353, allocations: 84.14 kB / 0.5077 GB, free: 14.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.4354, allocations: 7.891 kB / 0.5077 GB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.4354, allocations: 13.72 kB / 0.5077 GB, free: 13.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.4355, allocations: 315 kB / 0.508 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.4355, allocations: 11.94 kB / 0.508 GB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.4356, allocations: 7.984 kB / 0.508 GB, free: 13.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4357, allocations: 20.84 kB / 0.508 GB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4357, allocations: 0 / 0.508 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.4358, allocations: 57.47 kB / 0.5081 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4358, allocations: 4 kB / 0.5081 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4359, allocations: 8 kB / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4359, allocations: 0 / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.436, allocations: 4 kB / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.436, allocations: 0 / 0.5081 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.436, allocations: 7.922 kB / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.436, allocations: 4.328 kB / 0.5081 GB, free: 13.54 MB / 382.1 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 (3): * Single equations (assignments): 3 * 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 7.16e-05/0.4361, allocations: 109.8 kB / 0.5082 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.4361, allocations: 0 / 0.5082 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.4363, allocations: 69.09 kB / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4363, allocations: 0 / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4363, allocations: 0 / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4363, allocations: 4 kB / 0.5083 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.8e-05/0.4364, allocations: 153.6 kB / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4364, allocations: 4 kB / 0.5084 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.4365, allocations: 8 kB / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4365, allocations: 0 / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4365, allocations: 0 / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4365, allocations: 3.938 kB / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4365, allocations: 0 / 0.5084 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4367, allocations: 81.05 kB / 0.5085 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.4367, allocations: 77.11 kB / 0.5086 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.4367, allocations: 0 / 0.5086 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.4367, allocations: 7.938 kB / 0.5086 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4368, allocations: 7.984 kB / 0.5086 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.4368, allocations: 0 / 0.5086 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.192e-05/0.4368, allocations: 79.28 kB / 0.5087 GB, free: 12.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4368, allocations: 0 / 0.5087 GB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000179/0.437, allocations: 8 kB / 0.5087 GB, free: 12.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.000165/0.4372, allocations: 105.8 kB / 0.5088 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.4373, allocations: 19.98 kB / 0.5088 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4374, allocations: 0 / 0.5088 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.4374, allocations: 7.984 kB / 0.5088 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.4376, allocations: 23.91 kB / 0.5088 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.4379, allocations: 98.64 kB / 0.5089 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.4381, allocations: 0.6731 MB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.4381, allocations: 7.922 kB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.4381, allocations: 11.44 kB / 0.5096 GB, free: 11.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4381, allocations: 4 kB / 0.5096 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002573/0.4407, allocations: 352.9 kB / 0.5099 GB, free: 11.48 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: