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.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.002147/0.002147, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002068/0.002068, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.629/1.629, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.005098/0.005098, allocations: 234.1 kB / 259.8 MB, free: 12.84 MB / 250.7 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.197/1.197, allocations: 138.4 MB / 454.7 MB, free: 1.496 MB / 362.7 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.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 1.202e-06/1.202e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.531e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002753/0.002779, allocations: 1.46 MB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004209, allocations: 0.7797 MB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.004236, allocations: 0 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.004258, allocations: 3.938 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.004312, allocations: 11.92 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.004762, allocations: 131.4 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.004838, allocations: 35.91 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.004916, allocations: 8 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.004976, allocations: 11.98 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.005035, allocations: 23.91 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005058, allocations: 11.98 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.005505, allocations: 247.5 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.005524, allocations: 7.922 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.005548, allocations: 7.984 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.005912, allocations: 207.5 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005915, allocations: 4 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005915, allocations: 0 / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005919, allocations: 0 / 0.5572 GB, free: 13.88 MB / 490.7 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.0005818/0.006501, allocations: 391.9 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.006534, allocations: 12.75 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.006937, allocations: 52.83 kB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.007063, allocations: 116.6 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.007078, allocations: 384 / 0.5578 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.007092, allocations: 4.375 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.007323, allocations: 70.16 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007331, allocations: 192 / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.007341, allocations: 384 / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.007347, allocations: 3.938 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.007633, allocations: 67.89 kB / 0.5579 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.008151, allocations: 291.8 kB / 0.5582 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.008438, allocations: 79.02 kB / 0.5583 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.008589, allocations: 47.7 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.008606, allocations: 0 / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.008643, allocations: 41.33 kB / 0.5583 GB, free: 12.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.008644, allocations: 0 / 0.5583 GB, free: 12.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005561/0.0092, allocations: 133.5 kB / 0.5585 GB, free: 12.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.009243, allocations: 51.41 kB / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.009373, allocations: 165.9 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.009396, allocations: 25.7 kB / 0.5587 GB, free: 12.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.009472, allocations: 126.9 kB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.009498, allocations: 7.953 kB / 0.5588 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.00955, allocations: 19.38 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.009807, allocations: 0.4923 MB / 0.5593 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.00996, allocations: 28.11 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01009, allocations: 31.97 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01036, allocations: 71.64 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01036, allocations: 0 / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003199/0.01068, allocations: 85.66 kB / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.0107, allocations: 15.92 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.0107, allocations: 4.031 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01072, allocations: 0 / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01084, allocations: 11.98 kB / 0.5596 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.01085, allocations: 3.984 kB / 0.5596 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.01094, allocations: 11.98 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.01095, allocations: 0 / 0.5596 GB, free: 11.25 MB / 490.7 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 0.0001149/0.01107, allocations: 160.6 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.0111, allocations: 3.938 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.01112, allocations: 7.312 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01112, allocations: 7.938 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01113, allocations: 3.938 kB / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01113, allocations: 0 / 0.5598 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.0113, allocations: 128.6 kB / 0.5599 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01131, allocations: 0 / 0.5599 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.01141, allocations: 19.97 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01142, allocations: 0 / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01143, allocations: 3.938 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01143, allocations: 0 / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01143, allocations: 4 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.01185, allocations: 236.1 kB / 0.5601 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.01186, allocations: 0 / 0.5601 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01188, allocations: 11.94 kB / 0.5601 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01199, allocations: 12.02 kB / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01203, allocations: 8 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01204, allocations: 0 / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.01211, allocations: 127.2 kB / 0.5603 GB, free: 10.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01211, allocations: 3.938 kB / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01234, allocations: 15.94 kB / 0.5603 GB, free: 10.45 MB / 490.7 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.0001663/0.01251, allocations: 111.2 kB / 0.5604 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.01286, allocations: 75.62 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01286, allocations: 0 / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.01302, allocations: 43.66 kB / 0.5605 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01325, allocations: 8 kB / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.01376, allocations: 153.5 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.01382, allocations: 67.28 kB / 0.5607 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.01389, allocations: 11.94 kB / 0.5608 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.01393, allocations: 12.5 kB / 0.5608 GB, free: 9.914 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01393, allocations: 0 / 0.5608 GB, free: 9.914 MB / 490.7 MB Notification: Performance of Templates: time 0.003698/0.01763, allocations: 0.9032 MB / 0.5616 GB, free: 9.023 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.969451406039298]