Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7414/0.7414, allocations: 140.1 MB / 156 MB, free: 5.156 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.0009463/0.0009461, allocations: 179.3 kB / 188.5 MB, free: 15.82 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.519/1.519, allocations: 205.4 MB / 426.3 MB, free: 8.445 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.0007408/0.0007405, allocations: 88.86 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002184/0.002183, allocations: 278.1 kB / 0.5729 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3127, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4357, allocations: 108.4 MB / 0.8453 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.436, allocations: 75.97 kB / 0.8454 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.4469, allocations: 3.816 MB / 0.8491 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/0.447, allocations: 0 / 0.8491 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.447, allocations: 0 / 0.8491 GB, free: 13.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000419/0.4474, allocations: 387.3 kB / 0.8495 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4475, allocations: 12.03 kB / 0.8495 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/0.4478, allocations: 64.86 kB / 0.8495 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.448, allocations: 164.3 kB / 0.8497 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.448, allocations: 384 / 0.8497 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.448, allocations: 4.375 kB / 0.8497 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4483, allocations: 94.19 kB / 0.8498 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.4483, allocations: 192 / 0.8498 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4483, allocations: 15.92 kB / 0.8498 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4483, allocations: 0 / 0.8498 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.4487, allocations: 111.9 kB / 0.8499 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.4491, allocations: 300.8 kB / 0.8502 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.4495, allocations: 114.4 kB / 0.8503 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.4497, allocations: 64.86 kB / 0.8504 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4497, allocations: 8 kB / 0.8504 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4498, allocations: 38.5 kB / 0.8504 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.4498, allocations: 0 / 0.8504 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0007154/0.4505, allocations: 197.5 kB / 0.8506 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.4505, allocations: 55.47 kB / 0.8506 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.4506, allocations: 113.8 kB / 0.8508 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4506, allocations: 25.7 kB / 0.8508 GB, free: 12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.4507, allocations: 84.14 kB / 0.8509 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.4507, allocations: 7.891 kB / 0.8509 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.4507, allocations: 0 / 0.8509 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4508, allocations: 314.8 kB / 0.8512 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.451, allocations: 59.95 kB / 0.8512 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4512, allocations: 55.95 kB / 0.8513 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.4516, allocations: 112.8 kB / 0.8514 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4516, allocations: 4 kB / 0.8514 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004071/0.452, allocations: 153.5 kB / 0.8515 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4521, allocations: 5.562 kB / 0.8515 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4521, allocations: 0 / 0.8515 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4521, allocations: 0 / 0.8515 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4522, allocations: 27.97 kB / 0.8516 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4523, allocations: 4.031 kB / 0.8516 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4524, allocations: 27.97 kB / 0.8516 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4524, allocations: 0 / 0.8516 GB, free: 11.14 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 (2): * Single equations (assignments): 2 * 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 7.704e-05/0.4525, allocations: 113.8 kB / 0.8517 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.4525, allocations: 0 / 0.8517 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.4526, allocations: 11.12 kB / 0.8517 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4526, allocations: 4 kB / 0.8517 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4526, allocations: 0 / 0.8517 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4526, allocations: 0 / 0.8517 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4528, allocations: 173.5 kB / 0.8519 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4528, allocations: 0 / 0.8519 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4529, allocations: 31.97 kB / 0.8519 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4529, allocations: 4 kB / 0.8519 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.4529, allocations: 0 / 0.8519 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4529, allocations: 0 / 0.8519 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4529, allocations: 3.938 kB / 0.8519 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.4534, allocations: 251.3 kB / 0.8522 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4535, allocations: 77.11 kB / 0.8522 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.4535, allocations: 0 / 0.8522 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4537, allocations: 28 kB / 0.8523 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4537, allocations: 3.984 kB / 0.8523 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4537, allocations: 4 kB / 0.8523 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.4538, allocations: 79.28 kB / 0.8523 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4538, allocations: 0 / 0.8523 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002239/0.454, allocations: 23.94 kB / 0.8524 GB, free: 10.26 MB / 0.5261 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 (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.0001843/0.4542, allocations: 107.2 kB / 0.8525 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.4546, allocations: 115.9 kB / 0.8526 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4547, allocations: 3.938 kB / 0.8526 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4549, allocations: 67.95 kB / 0.8527 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.4552, allocations: 9.984 kB / 0.8527 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.4557, allocations: 182.5 kB / 0.8528 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.456, allocations: 0.677 MB / 0.8535 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.484e-05/0.4561, allocations: 8 kB / 0.8535 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4561, allocations: 11.42 kB / 0.8535 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.4561, allocations: 0 / 0.8535 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of Templates: time 0.002548/0.4587, allocations: 0.7182 MB / 0.8542 GB, free: 8.309 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)