Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001418/0.001418, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001425/0.001425, allocations: 200.7 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 282.9 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 96.77 kB / 0.6057 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1612, allocations: 89.16 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00199/0.1632, allocations: 0.7043 MB / 0.6935 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1653, allocations: 1.466 MB / 0.6949 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.1653, allocations: 0 / 0.6949 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.1654, allocations: 4.469 kB / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.1654, allocations: 0.6562 kB / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1658, allocations: 100.1 kB / 0.695 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.1658, allocations: 27.97 kB / 0.695 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1659, allocations: 4 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1659, allocations: 15.86 kB / 0.6951 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.166, allocations: 19.92 kB / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.166, allocations: 0 / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.1665, allocations: 319.3 kB / 0.6954 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1665, allocations: 7.922 kB / 0.6954 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1666, allocations: 11.94 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1669, allocations: 191.9 kB / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1669, allocations: 0 / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1669, allocations: 3.938 kB / 0.6956 GB, free: 1.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1669, allocations: 0 / 0.6956 GB, free: 1.969 MB / 494.1 MB 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.0005386/0.1674, allocations: 387.3 kB / 0.696 GB, free: 1.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1675, allocations: 11.97 kB / 0.696 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.1679, allocations: 60.86 kB / 0.696 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.168, allocations: 172.3 kB / 0.6962 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1681, allocations: 384 / 0.6962 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1681, allocations: 8.375 kB / 0.6962 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1684, allocations: 77.95 kB / 0.6963 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1684, allocations: 0 / 0.6963 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1684, allocations: 7.984 kB / 0.6963 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1684, allocations: 0 / 0.6963 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.1688, allocations: 71.86 kB / 0.6964 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.169, allocations: 173.7 kB / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.1696, allocations: 122.5 kB / 0.6966 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1698, allocations: 40.94 kB / 0.6967 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1698, allocations: 4 kB / 0.6967 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1698, allocations: 38.5 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1699, allocations: 0 / 0.6967 GB, free: 0.6562 MB / 494.1 MB 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.00436/0.1742, allocations: 0.7778 MB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1743, allocations: 59.41 kB / 0.6975 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1744, allocations: 113.8 kB / 0.6976 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1744, allocations: 25.7 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.1745, allocations: 88.14 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.1746, allocations: 27.56 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.1746, allocations: 25.7 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1748, allocations: 322.8 kB / 0.6981 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.1752, allocations: 95.89 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.1757, allocations: 99.84 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.1765, allocations: 196.9 kB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1765, allocations: 0 / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009519/0.1775, allocations: 245.3 kB / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1775, allocations: 8 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1775, allocations: 3.938 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1776, allocations: 4 kB / 0.6987 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.1779, allocations: 47.94 kB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1779, allocations: 4 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.1782, allocations: 40.7 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1782, allocations: 4 kB / 0.6988 GB, free: 14.43 MB / 0.4981 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 0.0001148/0.1783, allocations: 121.7 kB / 0.6989 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1783, allocations: 7.906 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1784, allocations: 12.36 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1784, allocations: 4 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1784, allocations: 0 / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1784, allocations: 0 / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.1802, allocations: 0.5936 MB / 0.6995 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1802, allocations: 0 / 0.6995 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.1805, allocations: 56 kB / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1805, allocations: 0 / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1806, allocations: 8 kB / 0.6996 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1806, allocations: 3.938 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1806, allocations: 7.938 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1816, allocations: 340.8 kB / 0.6999 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.1817, allocations: 93 kB / 0.7 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1817, allocations: 0 / 0.7 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.182, allocations: 39.95 kB / 0.7001 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.182, allocations: 12.11 kB / 0.7001 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1821, allocations: 8 kB / 0.7001 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.1821, allocations: 95.2 kB / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1821, allocations: 0 / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003323/0.1825, allocations: 36 kB / 0.7002 GB, free: 12.9 MB / 0.4981 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.0002437/0.1827, allocations: 131.2 kB / 0.7003 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000958/0.1837, allocations: 207.7 kB / 0.7005 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1837, allocations: 3.938 kB / 0.7005 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1842, allocations: 108.6 kB / 0.7006 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1844, allocations: 8.75 kB / 0.7007 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.186, allocations: 408.1 kB / 0.701 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1863, allocations: 0.6894 MB / 0.7017 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.1865, allocations: 20.67 kB / 0.7017 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.1866, allocations: 19.42 kB / 0.7018 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.555e-06/0.1866, allocations: 0 / 0.7018 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.004835/0.1914, allocations: 1.578 MB / 0.7033 GB, free: 9.68 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)