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.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.001295/0.001295, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001392/0.001392, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002467/0.002467, allocations: 235.5 kB / 259.4 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.056/1.056, allocations: 138.4 MB / 454.3 MB, free: 1.992 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.431e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001484/0.001508, allocations: 0.6392 MB / 0.6475 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.003425, allocations: 1.432 MB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.003448, allocations: 0 / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.003459, allocations: 3.938 kB / 0.6489 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.003511, allocations: 3.938 kB / 0.6489 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.003872, allocations: 134.7 kB / 0.649 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.003922, allocations: 27.86 kB / 0.649 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.789e-05/0.003949, allocations: 11.92 kB / 0.649 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.003989, allocations: 15.98 kB / 0.6491 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.004036, allocations: 11.92 kB / 0.6491 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.004053, allocations: 7.984 kB / 0.6491 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.004442, allocations: 251.5 kB / 0.6493 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.004454, allocations: 0 / 0.6493 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.004478, allocations: 15.92 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.004777, allocations: 199.5 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004779, allocations: 0 / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004779, allocations: 0 / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.004785, allocations: 3.984 kB / 0.6495 GB, free: 2.207 MB / 0.5606 GB 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.0004606/0.005245, allocations: 297.8 kB / 0.6498 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005275, allocations: 13.34 kB / 0.6498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.005646, allocations: 64.75 kB / 0.6499 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.005766, allocations: 113.8 kB / 0.65 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005783, allocations: 8.375 kB / 0.65 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.0058, allocations: 4.328 kB / 0.65 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.00607, allocations: 74.14 kB / 0.6501 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006081, allocations: 192 / 0.6501 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.006091, allocations: 384 / 0.6501 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.006097, allocations: 7.938 kB / 0.6501 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.006465, allocations: 67.92 kB / 0.6501 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.006619, allocations: 113.3 kB / 0.6503 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.007179, allocations: 122.5 kB / 0.6504 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.007365, allocations: 44.88 kB / 0.6504 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007382, allocations: 4 kB / 0.6504 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.007411, allocations: 34.56 kB / 0.6505 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007412, allocations: 4 kB / 0.6505 GB, free: 1.145 MB / 0.5606 GB 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.00418/0.01159, allocations: 0.7879 MB / 0.6512 GB, free: 360 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.01163, allocations: 51.41 kB / 0.6513 GB, free: 296 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.01174, allocations: 117.8 kB / 0.6514 GB, free: 168 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01177, allocations: 29.7 kB / 0.6514 GB, free: 132 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.01181, allocations: 84.14 kB / 0.6515 GB, free: 44 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01185, allocations: 27.75 kB / 0.6515 GB, free: 16 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2425/0.2543, allocations: 23.77 kB / 0.6515 GB, free: 56.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.2544, allocations: 320.7 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.2549, allocations: 97.58 kB / 0.6519 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.2553, allocations: 94.12 kB / 0.652 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.2561, allocations: 202.2 kB / 0.6522 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2561, allocations: 0 / 0.6522 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009136/0.257, allocations: 238.5 kB / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2571, allocations: 10.84 kB / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2571, allocations: 3.438 kB / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2571, allocations: 0 / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.2574, allocations: 52.86 kB / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2574, allocations: 8.531 kB / 0.6525 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2576, allocations: 35.48 kB / 0.6526 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2576, allocations: 4.953 kB / 0.6526 GB, free: 56.61 MB / 0.5606 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 6.946e-05/0.2577, allocations: 118.5 kB / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.2577, allocations: 3.609 kB / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.2578, allocations: 16.91 kB / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2578, allocations: 1.312 kB / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2578, allocations: 5.578 kB / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2578, allocations: 0 / 0.6527 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2593, allocations: 0.5317 MB / 0.6532 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2593, allocations: 3.5 kB / 0.6532 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.2596, allocations: 52.73 kB / 0.6533 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2596, allocations: 7.625 kB / 0.6533 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2596, allocations: 0 / 0.6533 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2596, allocations: 9.625 kB / 0.6533 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2596, allocations: 0 / 0.6533 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.2604, allocations: 335 kB / 0.6536 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.2605, allocations: 14.34 kB / 0.6536 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2605, allocations: 7 kB / 0.6536 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2607, allocations: 37.34 kB / 0.6537 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2608, allocations: 11.73 kB / 0.6537 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2608, allocations: 6.906 kB / 0.6537 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.2608, allocations: 89.98 kB / 0.6538 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2608, allocations: 0 / 0.6538 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002869/0.2611, allocations: 39.11 kB / 0.6538 GB, free: 56.02 MB / 0.5606 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.0001805/0.2613, allocations: 136.4 kB / 0.6539 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008912/0.2622, allocations: 204.8 kB / 0.6541 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2622, allocations: 1.25 kB / 0.6541 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.2626, allocations: 107.3 kB / 0.6542 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.2628, allocations: 10.41 kB / 0.6542 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2643, allocations: 414.7 kB / 0.6546 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.2644, allocations: 70.39 kB / 0.6547 GB, free: 55.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.389e-05/0.2644, allocations: 21.27 kB / 0.6547 GB, free: 55.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.2645, allocations: 21.95 kB / 0.6548 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2645, allocations: 4 kB / 0.6548 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.003971/0.2685, allocations: 1.763 MB / 0.6565 GB, free: 55.57 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.783571574836969] Failed to read output from testmodel.py, exit status != 0: 0.27560967579483986 0.28483046999999995 0.277902897 Calling exit ...