Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 109.8 kB / 19.59 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 210.1 kB / 22.87 MB, free: 5.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.341/1.341, allocations: 230.5 MB / 256.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8506/0.8506, allocations: 144.9 MB / 457.8 MB, free: 0 / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.75 kB / 0.6339 GB, free: 7.027 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1467, allocations: 87.88 MB / 0.7198 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002416/0.1491, allocations: 1.454 MB / 0.7212 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1503, allocations: 0.7603 MB / 0.7219 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1503, allocations: 0 / 0.7219 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.1503, allocations: 0 / 0.7219 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.1504, allocations: 7.922 kB / 0.7219 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1508, allocations: 135.5 kB / 0.7221 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.1508, allocations: 27.92 kB / 0.7221 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.1509, allocations: 11.98 kB / 0.7221 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.151, allocations: 15.94 kB / 0.7221 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.151, allocations: 15.97 kB / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.151, allocations: 4 kB / 0.7221 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.1514, allocations: 263.5 kB / 0.7224 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.1514, allocations: 7.938 kB / 0.7224 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1515, allocations: 11.98 kB / 0.7224 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1518, allocations: 187.5 kB / 0.7226 GB, free: 12.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1518, allocations: 4 kB / 0.7226 GB, free: 12.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1518, allocations: 0 / 0.7226 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1518, allocations: 0 / 0.7226 GB, free: 12.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004864/0.1522, allocations: 297.9 kB / 0.7229 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1523, allocations: 12.03 kB / 0.7229 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.1527, allocations: 64.84 kB / 0.7229 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.1528, allocations: 118.4 kB / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.1529, allocations: 384 / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1529, allocations: 384 / 0.7231 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1532, allocations: 93.94 kB / 0.7232 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1532, allocations: 0 / 0.7232 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1532, allocations: 3.938 kB / 0.7232 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1532, allocations: 0 / 0.7232 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1536, allocations: 87.91 kB / 0.7232 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1541, allocations: 267.9 kB / 0.7235 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.1545, allocations: 99.09 kB / 0.7236 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.1547, allocations: 52.88 kB / 0.7236 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1547, allocations: 0 / 0.7236 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1547, allocations: 30.56 kB / 0.7237 GB, free: 11.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1547, allocations: 0 / 0.7237 GB, free: 11.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007128/0.1554, allocations: 173.6 kB / 0.7238 GB, free: 10.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1555, allocations: 55.41 kB / 0.7239 GB, free: 10.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1555, allocations: 101.9 kB / 0.724 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1556, allocations: 25.7 kB / 0.724 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1556, allocations: 88.12 kB / 0.7241 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1556, allocations: 3.953 kB / 0.7241 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1557, allocations: 21.75 kB / 0.7241 GB, free: 10.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1558, allocations: 310.8 kB / 0.7244 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.156, allocations: 43.94 kB / 0.7245 GB, free: 10.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1562, allocations: 51.95 kB / 0.7245 GB, free: 10.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1566, allocations: 92.77 kB / 0.7246 GB, free: 10.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1566, allocations: 0 / 0.7246 GB, free: 10.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000459/0.157, allocations: 121.5 kB / 0.7247 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1571, allocations: 7.984 kB / 0.7247 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1571, allocations: 0 / 0.7247 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1571, allocations: 0 / 0.7247 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1572, allocations: 27.95 kB / 0.7247 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1572, allocations: 7.969 kB / 0.7248 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1573, allocations: 15.98 kB / 0.7248 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1573, allocations: 0 / 0.7248 GB, free: 9.824 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 (2): * Single equations (assignments): 2 * 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 8.116e-05/0.1574, allocations: 113.8 kB / 0.7249 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1575, allocations: 7.953 kB / 0.7249 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.1575, allocations: 7.297 kB / 0.7249 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1575, allocations: 3.984 kB / 0.7249 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1575, allocations: 4 kB / 0.7249 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1575, allocations: 0 / 0.7249 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1577, allocations: 136.7 kB / 0.725 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1577, allocations: 4 kB / 0.725 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1578, allocations: 19.97 kB / 0.7251 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1578, allocations: 0 / 0.7251 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1578, allocations: 0 / 0.7251 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1578, allocations: 0 / 0.7251 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1578, allocations: 8 kB / 0.7251 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1583, allocations: 227.3 kB / 0.7253 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.1583, allocations: 0 / 0.7253 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1583, allocations: 0 / 0.7253 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1585, allocations: 19.97 kB / 0.7253 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1585, allocations: 0 / 0.7253 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1585, allocations: 7.984 kB / 0.7253 GB, free: 9.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.1586, allocations: 87.53 kB / 0.7254 GB, free: 9.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 0.7254 GB, free: 9.117 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002248/0.1588, allocations: 15.97 kB / 0.7254 GB, free: 9.102 MB / 0.545 GB 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 (2): * Single equations (assignments): 2 * 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.0001453/0.1589, allocations: 107.2 kB / 0.7255 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.1594, allocations: 95.91 kB / 0.7256 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1594, allocations: 0 / 0.7256 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1596, allocations: 47.89 kB / 0.7256 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1599, allocations: 12.05 kB / 0.7257 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.1604, allocations: 191.1 kB / 0.7258 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.975e-05/0.1605, allocations: 63.3 kB / 0.7259 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1605, allocations: 11.42 kB / 0.7259 GB, free: 8.52 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1605, allocations: 4 kB / 0.7259 GB, free: 8.516 MB / 0.545 GB Notification: Performance of Templates: time 0.002332/0.1629, allocations: 0.8995 MB / 0.7268 GB, free: 7.621 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.115014292998239] Failed to read output from testmodel.py, exit status != 0: 0.17077579000033438 0.184130509 0.029546036 Calling exit ...