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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8298/0.8298, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 168 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007733/0.0007734, allocations: 94.39 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001652/0.001653, allocations: 268 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 20 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4597, allocations: 107.9 MB / 0.8449 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.4601, allocations: 83.94 kB / 0.8449 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.02433/0.4844, allocations: 4.171 MB / 0.849 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/0.4845, allocations: 4 kB / 0.849 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.4845, allocations: 0 / 0.849 GB, free: 14.02 MB / 0.5261 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.0006719/0.4852, allocations: 387.2 kB / 0.8494 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/0.4853, allocations: 12.03 kB / 0.8494 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.4858, allocations: 56.88 kB / 0.8495 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.486, allocations: 172.3 kB / 0.8496 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4861, allocations: 384 / 0.8496 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4861, allocations: 4.375 kB / 0.8496 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.4865, allocations: 82.2 kB / 0.8497 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4866, allocations: 192 / 0.8497 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4866, allocations: 7.875 kB / 0.8497 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4866, allocations: 4 kB / 0.8497 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.4873, allocations: 87.84 kB / 0.8498 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.4876, allocations: 173.6 kB / 0.85 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.4885, allocations: 142.5 kB / 0.8501 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.4888, allocations: 48.95 kB / 0.8502 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4888, allocations: 0 / 0.8502 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.4889, allocations: 38.98 kB / 0.8502 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 4.498e-06/0.4889, allocations: 0 / 0.8502 GB, free: 12.67 MB / 0.5261 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.008886/0.4978, allocations: 1.036 MB / 0.8512 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4979, allocations: 55.41 kB / 0.8513 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4981, allocations: 109.8 kB / 0.8514 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.4981, allocations: 25.7 kB / 0.8514 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.4982, allocations: 88.14 kB / 0.8515 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.4983, allocations: 27.55 kB / 0.8515 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.4983, allocations: 4 kB / 0.8515 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4984, allocations: 314.8 kB / 0.8518 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.4992, allocations: 135.8 kB / 0.8519 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.4998, allocations: 131.9 kB / 0.8521 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.5011, allocations: 256.7 kB / 0.8523 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5011, allocations: 0 / 0.8523 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001421/0.5025, allocations: 317.5 kB / 0.8526 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5026, allocations: 4 kB / 0.8526 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5026, allocations: 0 / 0.8526 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.5026, allocations: 7.984 kB / 0.8526 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.5032, allocations: 71.91 kB / 0.8527 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5032, allocations: 4 kB / 0.8527 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5037, allocations: 43.95 kB / 0.8527 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5037, allocations: 7.984 kB / 0.8527 GB, free: 10 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.5039, allocations: 117.8 kB / 0.8528 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.5039, allocations: 11.84 kB / 0.8529 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.504, allocations: 12.38 kB / 0.8529 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.504, allocations: 3.984 kB / 0.8529 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.504, allocations: 0 / 0.8529 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.504, allocations: 0 / 0.8529 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.5066, allocations: 0.6929 MB / 0.8535 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5067, allocations: 4 kB / 0.8536 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.5071, allocations: 75.92 kB / 0.8536 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.5071, allocations: 0 / 0.8536 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.5071, allocations: 7.984 kB / 0.8536 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5071, allocations: 0 / 0.8536 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5071, allocations: 0 / 0.8536 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.5083, allocations: 408.8 kB / 0.854 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.5084, allocations: 85.02 kB / 0.8541 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.5085, allocations: 0 / 0.8541 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.5088, allocations: 51.95 kB / 0.8542 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.5089, allocations: 15.92 kB / 0.8542 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.5089, allocations: 7.984 kB / 0.8542 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.509, allocations: 91.27 kB / 0.8543 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.509, allocations: 0 / 0.8543 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004911/0.5095, allocations: 43.94 kB / 0.8543 GB, free: 8.277 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.5098, allocations: 123.2 kB / 0.8544 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008888/0.5107, allocations: 271.8 kB / 0.8547 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5107, allocations: 0 / 0.8547 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.5111, allocations: 147.9 kB / 0.8548 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.5114, allocations: 10.52 kB / 0.8548 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.513, allocations: 496.1 kB / 0.8553 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5134, allocations: 0.6926 MB / 0.856 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5135, allocations: 20.67 kB / 0.856 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5136, allocations: 35.39 kB / 0.856 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.5136, allocations: 0 / 0.856 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of Templates: time 0.003877/0.5175, allocations: 1.79 MB / 0.8578 GB, free: 4.645 MB / 0.5261 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)