Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 121.5 kB / 17.09 MB, free: 6.012 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.001205/0.001205, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.75/0.75, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 70.92 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 76.17 MB / 0.6327 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002375/0.1449, allocations: 1.426 MB / 0.6341 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1461, allocations: 0.7952 MB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.1461, allocations: 4 kB / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.1462, allocations: 0 / 0.6349 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1462, allocations: 3.938 kB / 0.6349 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1467, allocations: 131.5 kB / 0.635 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.1468, allocations: 31.86 kB / 0.6351 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.1469, allocations: 12 kB / 0.6351 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.1469, allocations: 19.97 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.147, allocations: 19.91 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.147, allocations: 4 kB / 0.6351 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.1475, allocations: 319.4 kB / 0.6354 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1475, allocations: 0 / 0.6354 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.1475, allocations: 19.91 kB / 0.6354 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1478, allocations: 191.6 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1478, allocations: 4 kB / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1478, allocations: 0 / 0.6356 GB, free: 1.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1479, allocations: 4 kB / 0.6356 GB, free: 1.375 MB / 478.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.0005154/0.1484, allocations: 367.5 kB / 0.636 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1484, allocations: 8.031 kB / 0.636 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.1489, allocations: 68.84 kB / 0.6361 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.149, allocations: 176.2 kB / 0.6362 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.149, allocations: 384 / 0.6362 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1491, allocations: 384 / 0.6362 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1494, allocations: 93.88 kB / 0.6363 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1494, allocations: 3.984 kB / 0.6363 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1494, allocations: 0 / 0.6363 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1494, allocations: 0 / 0.6363 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.1498, allocations: 87.91 kB / 0.6364 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.1503, allocations: 300.9 kB / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.1508, allocations: 102.4 kB / 0.6368 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.151, allocations: 48.81 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.151, allocations: 4 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1511, allocations: 38.56 kB / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1511, allocations: 0 / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007718/0.1519, allocations: 161.5 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1519, allocations: 55.53 kB / 0.6371 GB, free: 15.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.152, allocations: 105.8 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1521, allocations: 33.64 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1521, allocations: 84.14 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1522, allocations: 3.906 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1522, allocations: 13.72 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1523, allocations: 318.8 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1526, allocations: 43.95 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1528, allocations: 43.95 kB / 0.6377 GB, free: 15.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1532, allocations: 96.77 kB / 0.6378 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1532, allocations: 0 / 0.6378 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004585/0.1536, allocations: 125.6 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1537, allocations: 4 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1537, allocations: 0 / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1537, allocations: 0 / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1538, allocations: 28.16 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1539, allocations: 0 / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.154, allocations: 27.92 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.154, allocations: 0 / 0.638 GB, free: 14.76 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 (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.417e-05/0.1541, allocations: 113.8 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1541, allocations: 4 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.1542, allocations: 7.125 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1542, allocations: 0 / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1542, allocations: 0 / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1542, allocations: 0 / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1544, allocations: 177.6 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1544, allocations: 0 / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1545, allocations: 23.97 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1545, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1545, allocations: 3.938 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1545, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1545, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.1551, allocations: 227.3 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1551, allocations: 85.09 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1551, allocations: 0 / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1553, allocations: 15.97 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.1553, allocations: 4 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1553, allocations: 0 / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.1554, allocations: 91.3 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1554, allocations: 0 / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1556, allocations: 19.91 kB / 0.6387 GB, free: 13.91 MB / 494.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 (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.0001513/0.1558, allocations: 103.2 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.1563, allocations: 99.89 kB / 0.6389 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1563, allocations: 3.938 kB / 0.6389 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1565, allocations: 51.95 kB / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1568, allocations: 3.938 kB / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1574, allocations: 179.3 kB / 0.6391 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1577, allocations: 0.6768 MB / 0.6398 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1577, allocations: 11.44 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1577, allocations: 0 / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002317/0.1601, allocations: 0.9036 MB / 0.6407 GB, free: 11.81 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)