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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.2 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 292.7 kB / 306.5 MB, free: 8.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.17/1.17, allocations: 180.9 MB / 0.53 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 102.2 kB / 0.7308 GB, free: 39.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.148, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002609/0.1506, allocations: 1.462 MB / 0.8243 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1519, allocations: 0.8006 MB / 0.825 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.1519, allocations: 4 kB / 0.825 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1519, allocations: 3.938 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.152, allocations: 7.922 kB / 0.8251 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1524, allocations: 123.5 kB / 0.8252 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.1525, allocations: 43.84 kB / 0.8252 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.1526, allocations: 4 kB / 0.8252 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.1526, allocations: 11.98 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1527, allocations: 19.92 kB / 0.8253 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1527, allocations: 4 kB / 0.8253 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.1532, allocations: 319.3 kB / 0.8256 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1532, allocations: 11.98 kB / 0.8256 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.1532, allocations: 11.92 kB / 0.8256 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1535, allocations: 203.5 kB / 0.8258 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1535, allocations: 0 / 0.8258 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1535, allocations: 0 / 0.8258 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1535, allocations: 4 kB / 0.8258 GB, free: 14.78 MB / 0.5762 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.0005211/0.1541, allocations: 300.1 kB / 0.8261 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1541, allocations: 8.031 kB / 0.8261 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.1545, allocations: 72.8 kB / 0.8261 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1547, allocations: 110.5 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1547, allocations: 4.312 kB / 0.8263 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1547, allocations: 384 / 0.8263 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.155, allocations: 89.94 kB / 0.8263 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.155, allocations: 0 / 0.8263 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.155, allocations: 11.94 kB / 0.8264 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.155, allocations: 0 / 0.8264 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1555, allocations: 91.89 kB / 0.8264 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.156, allocations: 271.8 kB / 0.8267 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.1564, allocations: 94.5 kB / 0.8268 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1566, allocations: 44.88 kB / 0.8268 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1566, allocations: 8 kB / 0.8268 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1567, allocations: 38.48 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1567, allocations: 0 / 0.8269 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000736/0.1574, allocations: 165.5 kB / 0.827 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1575, allocations: 51.53 kB / 0.8271 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1575, allocations: 105.8 kB / 0.8272 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1575, allocations: 29.7 kB / 0.8272 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.1576, allocations: 84.14 kB / 0.8273 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1576, allocations: 3.953 kB / 0.8273 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1577, allocations: 17.7 kB / 0.8273 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1578, allocations: 310.8 kB / 0.8276 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.158, allocations: 51.95 kB / 0.8277 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1582, allocations: 39.95 kB / 0.8277 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.1586, allocations: 100.7 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1586, allocations: 3.984 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004608/0.1591, allocations: 117.6 kB / 0.8279 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1591, allocations: 4 kB / 0.8279 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1591, allocations: 0 / 0.8279 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1591, allocations: 4 kB / 0.8279 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1593, allocations: 23.97 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.1593, allocations: 0 / 0.8279 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1594, allocations: 27.94 kB / 0.828 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1594, allocations: 3.984 kB / 0.828 GB, free: 12.35 MB / 0.5762 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.464e-05/0.1595, allocations: 110.4 kB / 0.8281 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1595, allocations: 4 kB / 0.8281 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.1595, allocations: 15.23 kB / 0.8281 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1595, allocations: 0 / 0.8281 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1595, allocations: 3.984 kB / 0.8281 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1596, allocations: 4 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1597, allocations: 152.5 kB / 0.8282 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1597, allocations: 4 kB / 0.8283 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1599, allocations: 19.97 kB / 0.8283 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1599, allocations: 3.938 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.1599, allocations: 0 / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1599, allocations: 256 / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1599, allocations: 4 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.1604, allocations: 223.4 kB / 0.8285 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1604, allocations: 4 kB / 0.8285 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1604, allocations: 3.984 kB / 0.8285 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1606, allocations: 15.98 kB / 0.8285 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1606, allocations: 3.984 kB / 0.8285 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.1606, allocations: 0 / 0.8285 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.1607, allocations: 91.25 kB / 0.8286 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1607, allocations: 0 / 0.8286 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000226/0.1609, allocations: 12 kB / 0.8286 GB, free: 11.62 MB / 0.5762 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.0001547/0.1611, allocations: 107.2 kB / 0.8287 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.1615, allocations: 91.91 kB / 0.8288 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1615, allocations: 4 kB / 0.8288 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1617, allocations: 48 kB / 0.8289 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.162, allocations: 9.5 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.1625, allocations: 161.6 kB / 0.829 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1628, allocations: 0.6768 MB / 0.8297 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1629, allocations: 8 kB / 0.8297 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1629, allocations: 11.44 kB / 0.8297 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1629, allocations: 4 kB / 0.8297 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.00303/0.166, allocations: 0.8204 MB / 0.8305 GB, free: 9.625 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.688939672894776] Failed to read output from testmodel.py, exit status != 0: 0.17289884481579065 0.18679402299999995 0.03042709799999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa79983d7b0>