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.00145/0.00145, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001446/0.001446, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.35/1.35, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.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.002291/0.002291, allocations: 276.8 kB / 303.6 MB, free: 3.699 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.017/1.017, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.002643/0.002643, allocations: 95.84 kB / 0.7259 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4799, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002159/0.482, allocations: 1.453 MB / 0.8193 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.483, allocations: 0.8081 MB / 0.8201 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.483, allocations: 0.875 kB / 0.8201 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.483, allocations: 3.938 kB / 0.8201 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.4831, allocations: 8.797 kB / 0.8201 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.4835, allocations: 126.6 kB / 0.8202 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.4835, allocations: 29 kB / 0.8202 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.4836, allocations: 5.938 kB / 0.8202 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.4836, allocations: 18.58 kB / 0.8203 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.4837, allocations: 17.22 kB / 0.8203 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4837, allocations: 2.719 kB / 0.8203 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.4841, allocations: 323 kB / 0.8206 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.4841, allocations: 5.969 kB / 0.8206 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.4842, allocations: 13.11 kB / 0.8206 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.4844, allocations: 196.1 kB / 0.8208 GB, free: 5.641 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4844, allocations: 3.938 kB / 0.8208 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4844, allocations: 4 kB / 0.8208 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4844, allocations: 0 / 0.8208 GB, free: 5.633 MB / 0.5763 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.0004377/0.4849, allocations: 374.2 kB / 0.8212 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.4849, allocations: 9.5 kB / 0.8212 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.4854, allocations: 66.81 kB / 0.8212 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.4854, allocations: 170.7 kB / 0.8214 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.4855, allocations: 2.125 kB / 0.8214 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4855, allocations: 1.594 kB / 0.8214 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.4858, allocations: 85.64 kB / 0.8215 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4858, allocations: 1.375 kB / 0.8215 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4858, allocations: 4 kB / 0.8215 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.4858, allocations: 0 / 0.8215 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.4862, allocations: 94.58 kB / 0.8216 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.4866, allocations: 301.6 kB / 0.8219 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.487, allocations: 97.05 kB / 0.8219 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4872, allocations: 52.27 kB / 0.822 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4872, allocations: 3.984 kB / 0.822 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4873, allocations: 36.72 kB / 0.822 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.4873, allocations: 0 / 0.822 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0007184/0.488, allocations: 168 kB / 0.8222 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.488, allocations: 57.03 kB / 0.8223 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.4881, allocations: 101.8 kB / 0.8223 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.4881, allocations: 25.7 kB / 0.8224 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.4881, allocations: 86.3 kB / 0.8225 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.4881, allocations: 9.719 kB / 0.8225 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.4882, allocations: 14.62 kB / 0.8225 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.4882, allocations: 313.2 kB / 0.8228 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.4884, allocations: 49.11 kB / 0.8228 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.4886, allocations: 49.31 kB / 0.8229 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.489, allocations: 91.39 kB / 0.823 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.489, allocations: 0 / 0.823 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004209/0.4894, allocations: 124.5 kB / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4894, allocations: 5.25 kB / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4894, allocations: 0.7031 kB / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4894, allocations: 0 / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4896, allocations: 21.31 kB / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4896, allocations: 0 / 0.8231 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.4897, allocations: 21 kB / 0.8231 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4897, allocations: 7.688 kB / 0.8231 GB, free: 3.812 MB / 0.5763 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 4.351e-05/0.4897, allocations: 110.6 kB / 0.8232 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4898, allocations: 4.047 kB / 0.8232 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.4898, allocations: 7.719 kB / 0.8232 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4898, allocations: 0 / 0.8232 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4898, allocations: 4.609 kB / 0.8233 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4898, allocations: 0 / 0.8233 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4899, allocations: 174.4 kB / 0.8234 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4899, allocations: 4.797 kB / 0.8234 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.4901, allocations: 20.39 kB / 0.8234 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4901, allocations: 0.6562 kB / 0.8234 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4901, allocations: 0.5625 kB / 0.8234 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4901, allocations: 3.938 kB / 0.8234 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4901, allocations: 3.938 kB / 0.8235 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.4905, allocations: 233 kB / 0.8237 GB, free: 3.316 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.4905, allocations: 78 kB / 0.8237 GB, free: 3.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4905, allocations: 3.938 kB / 0.8238 GB, free: 3.219 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4907, allocations: 21.61 kB / 0.8238 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4907, allocations: 2.531 kB / 0.8238 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4907, allocations: 6.109 kB / 0.8238 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.4907, allocations: 81.52 kB / 0.8239 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4907, allocations: 0 / 0.8239 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002248/0.491, allocations: 15.09 kB / 0.8239 GB, free: 3.133 MB / 0.5763 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.0001215/0.4911, allocations: 110 kB / 0.824 GB, free: 3.035 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4916, allocations: 96.3 kB / 0.8241 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4916, allocations: 2.781 kB / 0.8241 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.4918, allocations: 53.23 kB / 0.8241 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.492, allocations: 9.109 kB / 0.8241 GB, free: 3.004 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.4925, allocations: 186.4 kB / 0.8243 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4926, allocations: 0.6754 MB / 0.825 GB, free: 2.164 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.4927, allocations: 9.734 kB / 0.825 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.4927, allocations: 0 / 0.825 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of Templates: time 0.002318/0.495, allocations: 0.9062 MB / 0.8259 GB, free: 2.082 MB / 0.5763 GB " [Timeout remaining time 659] 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: 7.81072314013727] Failed to read output from testmodel.py, exit status != 0: 0.5021450580097735 0.513858594 0.026539091 Calling exit ...