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.001002/0.001002, allocations: 104 kB / 16.35 MB, free: 5.824 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.00096/0.00096, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 284 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 98.97 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1498, allocations: 86.98 MB / 0.6816 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001661/0.1514, allocations: 0.6227 MB / 0.6822 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1532, allocations: 1.454 MB / 0.6836 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1532, allocations: 7.875 kB / 0.6836 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1533, allocations: 4 kB / 0.6836 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.1533, allocations: 7.922 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1537, allocations: 123.5 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.1537, allocations: 19.98 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.1538, allocations: 4 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.1538, allocations: 23.84 kB / 0.6838 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1539, allocations: 19.92 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1539, allocations: 0 / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.1543, allocations: 319.3 kB / 0.6841 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.1543, allocations: 11.92 kB / 0.6842 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1544, allocations: 7.938 kB / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1546, allocations: 187.6 kB / 0.6843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1546, allocations: 0 / 0.6843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1546, allocations: 0 / 0.6843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1547, allocations: 0 / 0.6843 GB, free: 4.578 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.0004341/0.1551, allocations: 379.4 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1551, allocations: 15.97 kB / 0.6847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.1555, allocations: 60.77 kB / 0.6848 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1556, allocations: 172.3 kB / 0.6849 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1556, allocations: 4.375 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1557, allocations: 384 / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1559, allocations: 77.95 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1559, allocations: 3.984 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1559, allocations: 4 kB / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1559, allocations: 0 / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.1563, allocations: 75.91 kB / 0.6851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1564, allocations: 173.6 kB / 0.6853 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.1569, allocations: 126.4 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1571, allocations: 48.94 kB / 0.6854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1571, allocations: 0 / 0.6854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1572, allocations: 34.5 kB / 0.6855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.1572, allocations: 0 / 0.6855 GB, free: 3.266 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.003707/0.1609, allocations: 0.7908 MB / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.1609, allocations: 55.41 kB / 0.6863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.161, allocations: 109.8 kB / 0.6864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.161, allocations: 25.7 kB / 0.6864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.1611, allocations: 92.12 kB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1611, allocations: 27.56 kB / 0.6865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1612, allocations: 25.7 kB / 0.6866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.1613, allocations: 322.8 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1616, allocations: 91.91 kB / 0.687 GB, free: 1.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.162, allocations: 95.89 kB / 0.687 GB, free: 1.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.1627, allocations: 200.6 kB / 0.6872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1627, allocations: 0 / 0.6872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008123/0.1636, allocations: 241.3 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1636, allocations: 10.81 kB / 0.6875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1636, allocations: 3.984 kB / 0.6875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1636, allocations: 0 / 0.6875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1639, allocations: 55.94 kB / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1639, allocations: 0 / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.1642, allocations: 35.97 kB / 0.6876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1642, allocations: 11.92 kB / 0.6876 GB, free: 1.039 MB / 494.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 (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 7.472e-05/0.1643, allocations: 117.8 kB / 0.6877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1643, allocations: 384 / 0.6877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1643, allocations: 12.38 kB / 0.6877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1643, allocations: 0 / 0.6877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1643, allocations: 4 kB / 0.6877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1644, allocations: 11.86 kB / 0.6877 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.1658, allocations: 0.5935 MB / 0.6883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1658, allocations: 4.812 kB / 0.6883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.1661, allocations: 47.94 kB / 0.6883 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1661, allocations: 4 kB / 0.6884 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1661, allocations: 4 kB / 0.6884 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1661, allocations: 4 kB / 0.6884 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1661, allocations: 11.94 kB / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2508/0.4169, allocations: 334.4 kB / 0.6887 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.417, allocations: 85.11 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.417, allocations: 4.656 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4173, allocations: 36.86 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4173, allocations: 11.2 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.4173, allocations: 9.859 kB / 0.6888 GB, free: 18.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.4174, allocations: 91.28 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4174, allocations: 0 / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.4177, allocations: 37.39 kB / 0.689 GB, free: 17.96 MB / 494.1 MB 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.0001961/0.4179, allocations: 127.2 kB / 0.6891 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.4188, allocations: 209.4 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4188, allocations: 1.531 kB / 0.6893 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.4193, allocations: 107.8 kB / 0.6894 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.4195, allocations: 6.344 kB / 0.6894 GB, free: 17.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4209, allocations: 407.2 kB / 0.6898 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.946e-05/0.421, allocations: 0.6924 MB / 0.6904 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.647e-05/0.4211, allocations: 19.77 kB / 0.6905 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.4212, allocations: 23.78 kB / 0.6905 GB, free: 17.05 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4212, allocations: 2.031 kB / 0.6905 GB, free: 17.05 MB / 494.1 MB Notification: Performance of Templates: time 0.004271/0.4255, allocations: 1.649 MB / 0.6921 GB, free: 16.99 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)